clientspaceproto

package
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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) Method

func (DRPCClientSpaceDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL