Documentation
¶
Index ¶
- Variables
- func DRPCRegisterClientSpace(mux drpc.Mux, impl DRPCClientSpaceServer) error
- type DRPCClientSpaceClient
- type DRPCClientSpaceDescription
- type DRPCClientSpaceServer
- type DRPCClientSpaceUnimplementedServer
- type DRPCClientSpace_SpaceExchangeStream
- type LocalServer
- func (*LocalServer) Descriptor() ([]byte, []int)deprecated
- func (x *LocalServer) GetIps() []string
- func (x *LocalServer) GetPort() int32
- func (m *LocalServer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LocalServer) MarshalToVT(dAtA []byte) (int, error)
- func (m *LocalServer) MarshalVT() (dAtA []byte, err error)
- func (*LocalServer) ProtoMessage()
- func (x *LocalServer) ProtoReflect() protoreflect.Message
- func (x *LocalServer) Reset()
- func (m *LocalServer) SizeVT() (n int)
- func (x *LocalServer) String() string
- func (m *LocalServer) UnmarshalVT(dAtA []byte) error
- type SpaceExchangeRequest
- func (*SpaceExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SpaceExchangeRequest) GetLocalServer() *LocalServer
- func (x *SpaceExchangeRequest) GetSpaceIds() []string
- func (m *SpaceExchangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SpaceExchangeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SpaceExchangeRequest) MarshalVT() (dAtA []byte, err error)
- func (*SpaceExchangeRequest) ProtoMessage()
- func (x *SpaceExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *SpaceExchangeRequest) Reset()
- func (m *SpaceExchangeRequest) SizeVT() (n int)
- func (x *SpaceExchangeRequest) String() string
- func (m *SpaceExchangeRequest) UnmarshalVT(dAtA []byte) error
- type SpaceExchangeResponse
- func (*SpaceExchangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SpaceExchangeResponse) GetSpaceIds() []string
- func (m *SpaceExchangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SpaceExchangeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SpaceExchangeResponse) MarshalVT() (dAtA []byte, err error)
- func (*SpaceExchangeResponse) ProtoMessage()
- func (x *SpaceExchangeResponse) ProtoReflect() protoreflect.Message
- func (x *SpaceExchangeResponse) Reset()
- func (m *SpaceExchangeResponse) SizeVT() (n int)
- func (x *SpaceExchangeResponse) String() string
- func (m *SpaceExchangeResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_commonspace_clientspaceproto_protos_clientspace_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterClientSpace ¶
func DRPCRegisterClientSpace(mux drpc.Mux, impl DRPCClientSpaceServer) error
Types ¶
type DRPCClientSpaceClient ¶
type DRPCClientSpaceClient interface {
DRPCConn() drpc.Conn
SpaceExchange(ctx context.Context, in *SpaceExchangeRequest) (*SpaceExchangeResponse, error)
}
func NewDRPCClientSpaceClient ¶
func NewDRPCClientSpaceClient(cc drpc.Conn) DRPCClientSpaceClient
type DRPCClientSpaceDescription ¶
type DRPCClientSpaceDescription struct{}
func (DRPCClientSpaceDescription) NumMethods ¶
func (DRPCClientSpaceDescription) NumMethods() int
type DRPCClientSpaceServer ¶
type DRPCClientSpaceServer interface {
SpaceExchange(context.Context, *SpaceExchangeRequest) (*SpaceExchangeResponse, error)
}
type DRPCClientSpaceUnimplementedServer ¶
type DRPCClientSpaceUnimplementedServer struct{}
func (*DRPCClientSpaceUnimplementedServer) SpaceExchange ¶
func (s *DRPCClientSpaceUnimplementedServer) SpaceExchange(context.Context, *SpaceExchangeRequest) (*SpaceExchangeResponse, error)
type DRPCClientSpace_SpaceExchangeStream ¶
type DRPCClientSpace_SpaceExchangeStream interface {
drpc.Stream
SendAndClose(*SpaceExchangeResponse) error
}
type LocalServer ¶
type LocalServer struct {
Ips []string `protobuf:"bytes,1,rep,name=Ips,proto3" json:"Ips,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
func (*LocalServer) Descriptor
deprecated
func (*LocalServer) Descriptor() ([]byte, []int)
Deprecated: Use LocalServer.ProtoReflect.Descriptor instead.
func (*LocalServer) GetIps ¶
func (x *LocalServer) GetIps() []string
func (*LocalServer) GetPort ¶
func (x *LocalServer) GetPort() int32
func (*LocalServer) MarshalToSizedBufferVT ¶
func (m *LocalServer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LocalServer) MarshalToVT ¶
func (m *LocalServer) MarshalToVT(dAtA []byte) (int, error)
func (*LocalServer) MarshalVT ¶
func (m *LocalServer) MarshalVT() (dAtA []byte, err error)
func (*LocalServer) ProtoMessage ¶
func (*LocalServer) ProtoMessage()
func (*LocalServer) ProtoReflect ¶
func (x *LocalServer) ProtoReflect() protoreflect.Message
func (*LocalServer) Reset ¶
func (x *LocalServer) Reset()
func (*LocalServer) SizeVT ¶
func (m *LocalServer) SizeVT() (n int)
func (*LocalServer) String ¶
func (x *LocalServer) String() string
func (*LocalServer) UnmarshalVT ¶
func (m *LocalServer) UnmarshalVT(dAtA []byte) error
type SpaceExchangeRequest ¶
type SpaceExchangeRequest struct {
SpaceIds []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
LocalServer *LocalServer `protobuf:"bytes,2,opt,name=localServer,proto3" json:"localServer,omitempty"`
// contains filtered or unexported fields
}
func (*SpaceExchangeRequest) Descriptor
deprecated
func (*SpaceExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SpaceExchangeRequest.ProtoReflect.Descriptor instead.
func (*SpaceExchangeRequest) GetLocalServer ¶
func (x *SpaceExchangeRequest) GetLocalServer() *LocalServer
func (*SpaceExchangeRequest) GetSpaceIds ¶
func (x *SpaceExchangeRequest) GetSpaceIds() []string
func (*SpaceExchangeRequest) MarshalToSizedBufferVT ¶
func (m *SpaceExchangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SpaceExchangeRequest) MarshalToVT ¶
func (m *SpaceExchangeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SpaceExchangeRequest) MarshalVT ¶
func (m *SpaceExchangeRequest) MarshalVT() (dAtA []byte, err error)
func (*SpaceExchangeRequest) ProtoMessage ¶
func (*SpaceExchangeRequest) ProtoMessage()
func (*SpaceExchangeRequest) ProtoReflect ¶
func (x *SpaceExchangeRequest) ProtoReflect() protoreflect.Message
func (*SpaceExchangeRequest) Reset ¶
func (x *SpaceExchangeRequest) Reset()
func (*SpaceExchangeRequest) SizeVT ¶
func (m *SpaceExchangeRequest) SizeVT() (n int)
func (*SpaceExchangeRequest) String ¶
func (x *SpaceExchangeRequest) String() string
func (*SpaceExchangeRequest) UnmarshalVT ¶
func (m *SpaceExchangeRequest) UnmarshalVT(dAtA []byte) error
type SpaceExchangeResponse ¶
type SpaceExchangeResponse struct {
SpaceIds []string `protobuf:"bytes,1,rep,name=spaceIds,proto3" json:"spaceIds,omitempty"`
// contains filtered or unexported fields
}
func (*SpaceExchangeResponse) Descriptor
deprecated
func (*SpaceExchangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SpaceExchangeResponse.ProtoReflect.Descriptor instead.
func (*SpaceExchangeResponse) GetSpaceIds ¶
func (x *SpaceExchangeResponse) GetSpaceIds() []string
func (*SpaceExchangeResponse) MarshalToSizedBufferVT ¶
func (m *SpaceExchangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SpaceExchangeResponse) MarshalToVT ¶
func (m *SpaceExchangeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SpaceExchangeResponse) MarshalVT ¶
func (m *SpaceExchangeResponse) MarshalVT() (dAtA []byte, err error)
func (*SpaceExchangeResponse) ProtoMessage ¶
func (*SpaceExchangeResponse) ProtoMessage()
func (*SpaceExchangeResponse) ProtoReflect ¶
func (x *SpaceExchangeResponse) ProtoReflect() protoreflect.Message
func (*SpaceExchangeResponse) Reset ¶
func (x *SpaceExchangeResponse) Reset()
func (*SpaceExchangeResponse) SizeVT ¶
func (m *SpaceExchangeResponse) SizeVT() (n int)
func (*SpaceExchangeResponse) String ¶
func (x *SpaceExchangeResponse) String() string
func (*SpaceExchangeResponse) UnmarshalVT ¶
func (m *SpaceExchangeResponse) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.