Versions in this module Expand all Collapse all v0 v0.4.0 Jan 10, 2024 Changes in this version + var ErrIntOverflow = fmt.Errorf("proto: integer overflow") + var ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") + var File_version_v1_version_proto protoreflect.FileDescriptor + var Version_ServiceDesc = grpc.ServiceDesc + func RegisterVersionServer(s grpc.ServiceRegistrar, srv VersionServer) + type InstanceVersion struct + Addr string + ID string + Left bool + QuerierAPI uint64 + Timestamp int64 + func (*InstanceVersion) Descriptor() ([]byte, []int) + func (*InstanceVersion) ProtoMessage() + func (m *InstanceVersion) CloneMessageVT() proto.Message + func (m *InstanceVersion) CloneVT() *InstanceVersion + func (m *InstanceVersion) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *InstanceVersion) MarshalToVT(dAtA []byte) (int, error) + func (m *InstanceVersion) MarshalVT() (dAtA []byte, err error) + func (m *InstanceVersion) SizeVT() (n int) + func (m *InstanceVersion) UnmarshalVT(dAtA []byte) error + func (this *InstanceVersion) EqualMessageVT(thatMsg proto.Message) bool + func (this *InstanceVersion) EqualVT(that *InstanceVersion) bool + func (x *InstanceVersion) GetAddr() string + func (x *InstanceVersion) GetID() string + func (x *InstanceVersion) GetLeft() bool + func (x *InstanceVersion) GetQuerierAPI() uint64 + func (x *InstanceVersion) GetTimestamp() int64 + func (x *InstanceVersion) ProtoReflect() protoreflect.Message + func (x *InstanceVersion) Reset() + func (x *InstanceVersion) String() string + type UnimplementedVersionServer struct + func (UnimplementedVersionServer) Version(context.Context, *VersionRequest) (*VersionResponse, error) + type UnsafeVersionServer interface + type VersionClient interface + Version func(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) + func NewVersionClient(cc grpc.ClientConnInterface) VersionClient + type VersionRequest struct + func (*VersionRequest) Descriptor() ([]byte, []int) + func (*VersionRequest) ProtoMessage() + func (m *VersionRequest) CloneMessageVT() proto.Message + func (m *VersionRequest) CloneVT() *VersionRequest + func (m *VersionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *VersionRequest) MarshalToVT(dAtA []byte) (int, error) + func (m *VersionRequest) MarshalVT() (dAtA []byte, err error) + func (m *VersionRequest) SizeVT() (n int) + func (m *VersionRequest) UnmarshalVT(dAtA []byte) error + func (this *VersionRequest) EqualMessageVT(thatMsg proto.Message) bool + func (this *VersionRequest) EqualVT(that *VersionRequest) bool + func (x *VersionRequest) ProtoReflect() protoreflect.Message + func (x *VersionRequest) Reset() + func (x *VersionRequest) String() string + type VersionResponse struct + QuerierAPI uint64 + func (*VersionResponse) Descriptor() ([]byte, []int) + func (*VersionResponse) ProtoMessage() + func (m *VersionResponse) CloneMessageVT() proto.Message + func (m *VersionResponse) CloneVT() *VersionResponse + func (m *VersionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *VersionResponse) MarshalToVT(dAtA []byte) (int, error) + func (m *VersionResponse) MarshalVT() (dAtA []byte, err error) + func (m *VersionResponse) SizeVT() (n int) + func (m *VersionResponse) UnmarshalVT(dAtA []byte) error + func (this *VersionResponse) EqualMessageVT(thatMsg proto.Message) bool + func (this *VersionResponse) EqualVT(that *VersionResponse) bool + func (x *VersionResponse) GetQuerierAPI() uint64 + func (x *VersionResponse) ProtoReflect() protoreflect.Message + func (x *VersionResponse) Reset() + func (x *VersionResponse) String() string + type VersionServer interface + Version func(context.Context, *VersionRequest) (*VersionResponse, error) + type Versions struct + Instances map[string]*InstanceVersion + func (*Versions) Descriptor() ([]byte, []int) + func (*Versions) ProtoMessage() + func (m *Versions) CloneMessageVT() proto.Message + func (m *Versions) CloneVT() *Versions + func (m *Versions) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *Versions) MarshalToVT(dAtA []byte) (int, error) + func (m *Versions) MarshalVT() (dAtA []byte, err error) + func (m *Versions) SizeVT() (n int) + func (m *Versions) UnmarshalVT(dAtA []byte) error + func (this *Versions) EqualMessageVT(thatMsg proto.Message) bool + func (this *Versions) EqualVT(that *Versions) bool + func (x *Versions) GetInstances() map[string]*InstanceVersion + func (x *Versions) ProtoReflect() protoreflect.Message + func (x *Versions) Reset() + func (x *Versions) String() string