MCPcopy
hub / github.com/olric-data/olric / FragmentReceivedEvent

Struct FragmentReceivedEvent

events/cluster_events.go:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173type FragmentReceivedEvent struct {
174 Kind string `json:"kind"`
175 Source string `json:"source"`
176 Identifier string `json:"identifier"`
177 PartitionID uint64 `json:"partition_id"`
178 DataStructure string `json:"data_structure"`
179 Length int `json:"length"`
180 IsBackup bool `json:"is_backup"`
181 Timestamp int64 `json:"timestamp"`
182}
183
184func (f *FragmentReceivedEvent) Encode() (string, error) {
185 fields := []string{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected