Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2023 Changes in this version + var Discovery_ServiceDesc = grpc.ServiceDesc + var File_network_proto_discovery_proto protoreflect.FileDescriptor + var File_network_proto_identity_proto protoreflect.FileDescriptor + var File_network_proto_testing_proto protoreflect.FileDescriptor + var Identity_ServiceDesc = grpc.ServiceDesc + var TestService_ServiceDesc = grpc.ServiceDesc + func RegisterDiscoveryServer(s grpc.ServiceRegistrar, srv DiscoveryServer) + func RegisterIdentityServer(s grpc.ServiceRegistrar, srv IdentityServer) + func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer) + type ChattyRequest struct + Count int32 + Message string + func (*ChattyRequest) Descriptor() ([]byte, []int) + func (*ChattyRequest) ProtoMessage() + func (m *ChattyRequest) Validate() error + func (m *ChattyRequest) ValidateAll() error + func (x *ChattyRequest) GetCount() int32 + func (x *ChattyRequest) GetMessage() string + func (x *ChattyRequest) ProtoReflect() protoreflect.Message + func (x *ChattyRequest) Reset() + func (x *ChattyRequest) String() string + type ChattyRequestMultiError []error + func (m ChattyRequestMultiError) AllErrors() []error + func (m ChattyRequestMultiError) Error() string + type ChattyRequestValidationError struct + func (e ChattyRequestValidationError) Cause() error + func (e ChattyRequestValidationError) Error() string + func (e ChattyRequestValidationError) ErrorName() string + func (e ChattyRequestValidationError) Field() string + func (e ChattyRequestValidationError) Key() bool + func (e ChattyRequestValidationError) Reason() string + type DiscoveryClient interface + FindPeers func(ctx context.Context, in *FindPeersReq, opts ...grpc.CallOption) (*FindPeersResp, error) + func NewDiscoveryClient(cc grpc.ClientConnInterface) DiscoveryClient + type DiscoveryServer interface + FindPeers func(context.Context, *FindPeersReq) (*FindPeersResp, error) + type FindPeersReq struct + Count int64 + Key string + func (*FindPeersReq) Descriptor() ([]byte, []int) + func (*FindPeersReq) ProtoMessage() + func (m *FindPeersReq) Validate() error + func (m *FindPeersReq) ValidateAll() error + func (x *FindPeersReq) GetCount() int64 + func (x *FindPeersReq) GetKey() string + func (x *FindPeersReq) ProtoReflect() protoreflect.Message + func (x *FindPeersReq) Reset() + func (x *FindPeersReq) String() string + type FindPeersReqMultiError []error + func (m FindPeersReqMultiError) AllErrors() []error + func (m FindPeersReqMultiError) Error() string + type FindPeersReqValidationError struct + func (e FindPeersReqValidationError) Cause() error + func (e FindPeersReqValidationError) Error() string + func (e FindPeersReqValidationError) ErrorName() string + func (e FindPeersReqValidationError) Field() string + func (e FindPeersReqValidationError) Key() bool + func (e FindPeersReqValidationError) Reason() string + type FindPeersResp struct + Nodes []string + func (*FindPeersResp) Descriptor() ([]byte, []int) + func (*FindPeersResp) ProtoMessage() + func (m *FindPeersResp) Validate() error + func (m *FindPeersResp) ValidateAll() error + func (x *FindPeersResp) GetNodes() []string + func (x *FindPeersResp) ProtoReflect() protoreflect.Message + func (x *FindPeersResp) Reset() + func (x *FindPeersResp) String() string + type FindPeersRespMultiError []error + func (m FindPeersRespMultiError) AllErrors() []error + func (m FindPeersRespMultiError) Error() string + type FindPeersRespValidationError struct + func (e FindPeersRespValidationError) Cause() error + func (e FindPeersRespValidationError) Error() string + func (e FindPeersRespValidationError) ErrorName() string + func (e FindPeersRespValidationError) Field() string + func (e FindPeersRespValidationError) Key() bool + func (e FindPeersRespValidationError) Reason() string + type GenericMessage struct + Message string + func (*GenericMessage) Descriptor() ([]byte, []int) + func (*GenericMessage) ProtoMessage() + func (m *GenericMessage) Validate() error + func (m *GenericMessage) ValidateAll() error + func (x *GenericMessage) GetMessage() string + func (x *GenericMessage) ProtoReflect() protoreflect.Message + func (x *GenericMessage) Reset() + func (x *GenericMessage) String() string + type GenericMessageMultiError []error + func (m GenericMessageMultiError) AllErrors() []error + func (m GenericMessageMultiError) Error() string + type GenericMessageValidationError struct + func (e GenericMessageValidationError) Cause() error + func (e GenericMessageValidationError) Error() string + func (e GenericMessageValidationError) ErrorName() string + func (e GenericMessageValidationError) Field() string + func (e GenericMessageValidationError) Key() bool + func (e GenericMessageValidationError) Reason() string + type IdentityClient interface + Hello func(ctx context.Context, in *Status, opts ...grpc.CallOption) (*Status, error) + func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient + type IdentityServer interface + Hello func(context.Context, *Status) (*Status, error) + type Status struct + Chain int64 + Genesis string + Keys []*Status_Key + Metadata map[string]string + TemporaryDial bool + func (*Status) Descriptor() ([]byte, []int) + func (*Status) ProtoMessage() + func (m *Status) Validate() error + func (m *Status) ValidateAll() error + func (x *Status) GetChain() int64 + func (x *Status) GetGenesis() string + func (x *Status) GetKeys() []*Status_Key + func (x *Status) GetMetadata() map[string]string + func (x *Status) GetTemporaryDial() bool + func (x *Status) ProtoReflect() protoreflect.Message + func (x *Status) Reset() + func (x *Status) String() string + type StatusMultiError []error + func (m StatusMultiError) AllErrors() []error + func (m StatusMultiError) Error() string + type StatusValidationError struct + func (e StatusValidationError) Cause() error + func (e StatusValidationError) Error() string + func (e StatusValidationError) ErrorName() string + func (e StatusValidationError) Field() string + func (e StatusValidationError) Key() bool + func (e StatusValidationError) Reason() string + type Status_Key struct + Message string + Signature string + func (*Status_Key) Descriptor() ([]byte, []int) + func (*Status_Key) ProtoMessage() + func (m *Status_Key) Validate() error + func (m *Status_Key) ValidateAll() error + func (x *Status_Key) GetMessage() string + func (x *Status_Key) GetSignature() string + func (x *Status_Key) ProtoReflect() protoreflect.Message + func (x *Status_Key) Reset() + func (x *Status_Key) String() string + type Status_KeyMultiError []error + func (m Status_KeyMultiError) AllErrors() []error + func (m Status_KeyMultiError) Error() string + type Status_KeyValidationError struct + func (e Status_KeyValidationError) Cause() error + func (e Status_KeyValidationError) Error() string + func (e Status_KeyValidationError) ErrorName() string + func (e Status_KeyValidationError) Field() string + func (e Status_KeyValidationError) Key() bool + func (e Status_KeyValidationError) Reason() string + type TestServiceClient interface + GetChattyBidi func(ctx context.Context, opts ...grpc.CallOption) (TestService_GetChattyBidiClient, error) + GetChattyClient func(ctx context.Context, opts ...grpc.CallOption) (TestService_GetChattyClientClient, error) + GetChattyServer func(ctx context.Context, in *ChattyRequest, opts ...grpc.CallOption) (TestService_GetChattyServerClient, error) + SayHello func(ctx context.Context, in *GenericMessage, opts ...grpc.CallOption) (*GenericMessage, error) + func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient + type TestServiceServer interface + GetChattyBidi func(TestService_GetChattyBidiServer) error + GetChattyClient func(TestService_GetChattyClientServer) error + GetChattyServer func(*ChattyRequest, TestService_GetChattyServerServer) error + SayHello func(context.Context, *GenericMessage) (*GenericMessage, error) + type TestService_GetChattyBidiClient interface + Recv func() (*GenericMessage, error) + Send func(*GenericMessage) error + type TestService_GetChattyBidiServer interface + Recv func() (*GenericMessage, error) + Send func(*GenericMessage) error + type TestService_GetChattyClientClient interface + CloseAndRecv func() (*GenericMessage, error) + Send func(*GenericMessage) error + type TestService_GetChattyClientServer interface + Recv func() (*GenericMessage, error) + SendAndClose func(*GenericMessage) error + type TestService_GetChattyServerClient interface + Recv func() (*GenericMessage, error) + type TestService_GetChattyServerServer interface + Send func(*GenericMessage) error + type UnimplementedDiscoveryServer struct + func (UnimplementedDiscoveryServer) FindPeers(context.Context, *FindPeersReq) (*FindPeersResp, error) + type UnimplementedIdentityServer struct + func (UnimplementedIdentityServer) Hello(context.Context, *Status) (*Status, error) + type UnimplementedTestServiceServer struct + func (UnimplementedTestServiceServer) GetChattyBidi(TestService_GetChattyBidiServer) error + func (UnimplementedTestServiceServer) GetChattyClient(TestService_GetChattyClientServer) error + func (UnimplementedTestServiceServer) GetChattyServer(*ChattyRequest, TestService_GetChattyServerServer) error + func (UnimplementedTestServiceServer) SayHello(context.Context, *GenericMessage) (*GenericMessage, error) + type UnsafeDiscoveryServer interface + type UnsafeIdentityServer interface + type UnsafeTestServiceServer interface