MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / RaftContext

Struct RaftContext

bitmap/pb.pb.go:991–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991type RaftContext struct {
992 Id uint64 `protobuf:"fixed64,1,opt,name=id,proto3" json:"id,omitempty"`
993 Group uint32 `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`
994 Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
995 SnapshotTs uint64 `protobuf:"varint,4,opt,name=snapshot_ts,json=snapshotTs,proto3" json:"snapshot_ts,omitempty"`
996 IsLearner bool `protobuf:"varint,5,opt,name=is_learner,json=isLearner,proto3" json:"is_learner,omitempty"`
997}
998
999func (m *RaftContext) Reset() { *m = RaftContext{} }
1000func (m *RaftContext) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected