| 989 | } |
| 990 | |
| 991 | type 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 | |
| 999 | func (m *RaftContext) Reset() { *m = RaftContext{} } |
| 1000 | func (m *RaftContext) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected