Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_x_x_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Svc1Client ¶
type Svc1Client interface {
Send(context.Context, *psrpc_internal_test_importmapping_y.MsgY, ...psrpc.RequestOpt) (*psrpc_internal_test_importmapping_y.MsgY, error)
}
func NewSvc1Client ¶
func NewSvc1Client(clientID string, bus psrpc.MessageBus, opts ...psrpc.ClientOpt) (Svc1Client, error)
NewSvc1Client creates a psrpc client that implements the Svc1Client interface.
type Svc1Server ¶
type Svc1Server interface {
}
func NewSvc1Server ¶
func NewSvc1Server(serverID string, svc Svc1ServerImpl, bus psrpc.MessageBus, opts ...psrpc.ServerOpt) (Svc1Server, error)
NewSvc1Server builds a RPCServer that can be used to handle requests that are routed to the right method in the provided svc implementation.
type Svc1ServerImpl ¶
type Svc1ServerImpl interface {
Send(context.Context, *psrpc_internal_test_importmapping_y.MsgY) (*psrpc_internal_test_importmapping_y.MsgY, error)
}
Click to show internal directories.
Click to hide internal directories.