Beacon represents a single propagation beacon published to the cluster.
| 75 | |
| 76 | // Beacon represents a single propagation beacon published to the cluster. |
| 77 | type BeaconDesc struct { |
| 78 | // Name of the node that published this beacon. |
| 79 | PublishedBy string `protobuf:"bytes,3,opt,name=published_by,json=publishedBy,proto3" json:"published_by,omitempty"` |
| 80 | // Wall-clock timestamp when this beacon was published (milliseconds since epoch). |
| 81 | PublishedAt int64 `protobuf:"varint,1,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` |
| 82 | // Deletion timestamp (milliseconds since epoch). 0 = active, non-zero = beacon deleted at that time (tombstone). |
| 83 | DeletedAt int64 `protobuf:"varint,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` |
| 84 | } |
| 85 | |
| 86 | func (m *BeaconDesc) Reset() { *m = BeaconDesc{} } |
| 87 | func (*BeaconDesc) ProtoMessage() {} |
nothing calls this directly
no outgoing calls
no test coverage detected