Versions in this module Expand all Collapse all v0 v0.0.2 May 15, 2024 Changes in this version + var CenterService_ServiceDesc = grpc.ServiceDesc + var DirectNetService_ServiceDesc = grpc.ServiceDesc + var File_lannet_channel_proto protoreflect.FileDescriptor + func RegisterCenterServiceServer(s grpc.ServiceRegistrar, srv CenterServiceServer) + func RegisterDirectNetServiceServer(s grpc.ServiceRegistrar, srv DirectNetServiceServer) + type CenterRequest struct + Req isCenterRequest_Req + func (*CenterRequest) Descriptor() ([]byte, []int) + func (*CenterRequest) ProtoMessage() + func (m *CenterRequest) GetReq() isCenterRequest_Req + func (m *CenterRequest) Validate() error + func (m *CenterRequest) ValidateAll() error + func (x *CenterRequest) GetData() []byte + func (x *CenterRequest) GetHello() *HelloServer + func (x *CenterRequest) ProtoReflect() protoreflect.Message + func (x *CenterRequest) Reset() + func (x *CenterRequest) String() string + type CenterRequestMultiError []error + func (m CenterRequestMultiError) AllErrors() []error + func (m CenterRequestMultiError) Error() string + type CenterRequestValidationError struct + func (e CenterRequestValidationError) Cause() error + func (e CenterRequestValidationError) Error() string + func (e CenterRequestValidationError) ErrorName() string + func (e CenterRequestValidationError) Field() string + func (e CenterRequestValidationError) Key() bool + func (e CenterRequestValidationError) Reason() string + type CenterRequest_Data struct + Data []byte + type CenterRequest_Hello struct + Hello *HelloServer + type CenterResponse struct + Resp isCenterResponse_Resp + func (*CenterResponse) Descriptor() ([]byte, []int) + func (*CenterResponse) ProtoMessage() + func (m *CenterResponse) GetResp() isCenterResponse_Resp + func (m *CenterResponse) Validate() error + func (m *CenterResponse) ValidateAll() error + func (x *CenterResponse) GetData() []byte + func (x *CenterResponse) GetHello() *HelloClient + func (x *CenterResponse) ProtoReflect() protoreflect.Message + func (x *CenterResponse) Reset() + func (x *CenterResponse) String() string + type CenterResponseMultiError []error + func (m CenterResponseMultiError) AllErrors() []error + func (m CenterResponseMultiError) Error() string + type CenterResponseValidationError struct + func (e CenterResponseValidationError) Cause() error + func (e CenterResponseValidationError) Error() string + func (e CenterResponseValidationError) ErrorName() string + func (e CenterResponseValidationError) Field() string + func (e CenterResponseValidationError) Key() bool + func (e CenterResponseValidationError) Reason() string + type CenterResponse_Data struct + Data []byte + type CenterResponse_Hello struct + Hello *HelloClient + type CenterServiceClient interface + Channel func(ctx context.Context, opts ...grpc.CallOption) (CenterService_ChannelClient, error) + func NewCenterServiceClient(cc grpc.ClientConnInterface) CenterServiceClient + type CenterServiceServer interface + Channel func(CenterService_ChannelServer) error + type CenterService_ChannelClient interface + Recv func() (*CenterResponse, error) + Send func(*CenterRequest) error + type CenterService_ChannelServer interface + Recv func() (*CenterRequest, error) + Send func(*CenterResponse) error + type DirectNetHelloClient struct + func (*DirectNetHelloClient) Descriptor() ([]byte, []int) + func (*DirectNetHelloClient) ProtoMessage() + func (m *DirectNetHelloClient) Validate() error + func (m *DirectNetHelloClient) ValidateAll() error + func (x *DirectNetHelloClient) ProtoReflect() protoreflect.Message + func (x *DirectNetHelloClient) Reset() + func (x *DirectNetHelloClient) String() string + type DirectNetHelloClientMultiError []error + func (m DirectNetHelloClientMultiError) AllErrors() []error + func (m DirectNetHelloClientMultiError) Error() string + type DirectNetHelloClientValidationError struct + func (e DirectNetHelloClientValidationError) Cause() error + func (e DirectNetHelloClientValidationError) Error() string + func (e DirectNetHelloClientValidationError) ErrorName() string + func (e DirectNetHelloClientValidationError) Field() string + func (e DirectNetHelloClientValidationError) Key() bool + func (e DirectNetHelloClientValidationError) Reason() string + type DirectNetHelloServer struct + Key string + func (*DirectNetHelloServer) Descriptor() ([]byte, []int) + func (*DirectNetHelloServer) ProtoMessage() + func (m *DirectNetHelloServer) Validate() error + func (m *DirectNetHelloServer) ValidateAll() error + func (x *DirectNetHelloServer) GetKey() string + func (x *DirectNetHelloServer) ProtoReflect() protoreflect.Message + func (x *DirectNetHelloServer) Reset() + func (x *DirectNetHelloServer) String() string + type DirectNetHelloServerMultiError []error + func (m DirectNetHelloServerMultiError) AllErrors() []error + func (m DirectNetHelloServerMultiError) Error() string + type DirectNetHelloServerValidationError struct + func (e DirectNetHelloServerValidationError) Cause() error + func (e DirectNetHelloServerValidationError) Error() string + func (e DirectNetHelloServerValidationError) ErrorName() string + func (e DirectNetHelloServerValidationError) Field() string + func (e DirectNetHelloServerValidationError) Key() bool + func (e DirectNetHelloServerValidationError) Reason() string + type DirectNetRequest struct + Req isDirectNetRequest_Req + func (*DirectNetRequest) Descriptor() ([]byte, []int) + func (*DirectNetRequest) ProtoMessage() + func (m *DirectNetRequest) GetReq() isDirectNetRequest_Req + func (m *DirectNetRequest) Validate() error + func (m *DirectNetRequest) ValidateAll() error + func (x *DirectNetRequest) GetData() []byte + func (x *DirectNetRequest) GetHello() *DirectNetHelloServer + func (x *DirectNetRequest) ProtoReflect() protoreflect.Message + func (x *DirectNetRequest) Reset() + func (x *DirectNetRequest) String() string + type DirectNetRequestMultiError []error + func (m DirectNetRequestMultiError) AllErrors() []error + func (m DirectNetRequestMultiError) Error() string + type DirectNetRequestValidationError struct + func (e DirectNetRequestValidationError) Cause() error + func (e DirectNetRequestValidationError) Error() string + func (e DirectNetRequestValidationError) ErrorName() string + func (e DirectNetRequestValidationError) Field() string + func (e DirectNetRequestValidationError) Key() bool + func (e DirectNetRequestValidationError) Reason() string + type DirectNetRequest_Data struct + Data []byte + type DirectNetRequest_Hello struct + Hello *DirectNetHelloServer + type DirectNetResponse struct + Resp isDirectNetResponse_Resp + func (*DirectNetResponse) Descriptor() ([]byte, []int) + func (*DirectNetResponse) ProtoMessage() + func (m *DirectNetResponse) GetResp() isDirectNetResponse_Resp + func (m *DirectNetResponse) Validate() error + func (m *DirectNetResponse) ValidateAll() error + func (x *DirectNetResponse) GetData() []byte + func (x *DirectNetResponse) GetHello() *DirectNetHelloClient + func (x *DirectNetResponse) ProtoReflect() protoreflect.Message + func (x *DirectNetResponse) Reset() + func (x *DirectNetResponse) String() string + type DirectNetResponseMultiError []error + func (m DirectNetResponseMultiError) AllErrors() []error + func (m DirectNetResponseMultiError) Error() string + type DirectNetResponseValidationError struct + func (e DirectNetResponseValidationError) Cause() error + func (e DirectNetResponseValidationError) Error() string + func (e DirectNetResponseValidationError) ErrorName() string + func (e DirectNetResponseValidationError) Field() string + func (e DirectNetResponseValidationError) Key() bool + func (e DirectNetResponseValidationError) Reason() string + type DirectNetResponse_Data struct + Data []byte + type DirectNetResponse_Hello struct + Hello *DirectNetHelloClient + type DirectNetServiceClient interface + Channel func(ctx context.Context, opts ...grpc.CallOption) (DirectNetService_ChannelClient, error) + func NewDirectNetServiceClient(cc grpc.ClientConnInterface) DirectNetServiceClient + type DirectNetServiceServer interface + Channel func(DirectNetService_ChannelServer) error + type DirectNetService_ChannelClient interface + Recv func() (*DirectNetResponse, error) + Send func(*DirectNetRequest) error + type DirectNetService_ChannelServer interface + Recv func() (*DirectNetRequest, error) + Send func(*DirectNetResponse) error + type HelloClient struct + ClientIps map[string]*StringList + Clients map[string]string + Vpn string + func (*HelloClient) Descriptor() ([]byte, []int) + func (*HelloClient) ProtoMessage() + func (m *HelloClient) Validate() error + func (m *HelloClient) ValidateAll() error + func (x *HelloClient) GetClientIps() map[string]*StringList + func (x *HelloClient) GetClients() map[string]string + func (x *HelloClient) GetVpn() string + func (x *HelloClient) ProtoReflect() protoreflect.Message + func (x *HelloClient) Reset() + func (x *HelloClient) String() string + type HelloClientMultiError []error + func (m HelloClientMultiError) AllErrors() []error + func (m HelloClientMultiError) Error() string + type HelloClientValidationError struct + func (e HelloClientValidationError) Cause() error + func (e HelloClientValidationError) Error() string + func (e HelloClientValidationError) ErrorName() string + func (e HelloClientValidationError) Field() string + func (e HelloClientValidationError) Key() bool + func (e HelloClientValidationError) Reason() string + type HelloServer struct + Key string + MyEncodedAddress string + MyIps []string + func (*HelloServer) Descriptor() ([]byte, []int) + func (*HelloServer) ProtoMessage() + func (m *HelloServer) Validate() error + func (m *HelloServer) ValidateAll() error + func (x *HelloServer) GetKey() string + func (x *HelloServer) GetMyEncodedAddress() string + func (x *HelloServer) GetMyIps() []string + func (x *HelloServer) ProtoReflect() protoreflect.Message + func (x *HelloServer) Reset() + func (x *HelloServer) String() string + type HelloServerMultiError []error + func (m HelloServerMultiError) AllErrors() []error + func (m HelloServerMultiError) Error() string + type HelloServerValidationError struct + func (e HelloServerValidationError) Cause() error + func (e HelloServerValidationError) Error() string + func (e HelloServerValidationError) ErrorName() string + func (e HelloServerValidationError) Field() string + func (e HelloServerValidationError) Key() bool + func (e HelloServerValidationError) Reason() string + type StringList struct + Strings []string + func (*StringList) Descriptor() ([]byte, []int) + func (*StringList) ProtoMessage() + func (m *StringList) Validate() error + func (m *StringList) ValidateAll() error + func (x *StringList) GetStrings() []string + func (x *StringList) ProtoReflect() protoreflect.Message + func (x *StringList) Reset() + func (x *StringList) String() string + type StringListMultiError []error + func (m StringListMultiError) AllErrors() []error + func (m StringListMultiError) Error() string + type StringListValidationError struct + func (e StringListValidationError) Cause() error + func (e StringListValidationError) Error() string + func (e StringListValidationError) ErrorName() string + func (e StringListValidationError) Field() string + func (e StringListValidationError) Key() bool + func (e StringListValidationError) Reason() string + type UnimplementedCenterServiceServer struct + func (UnimplementedCenterServiceServer) Channel(CenterService_ChannelServer) error + type UnimplementedDirectNetServiceServer struct + func (UnimplementedDirectNetServiceServer) Channel(DirectNetService_ChannelServer) error + type UnsafeCenterServiceServer interface + type UnsafeDirectNetServiceServer interface