Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_empty_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmptyClient ¶
type EmptyClient interface {
}
func NewEmptyClient ¶
func NewEmptyClient(clientID string, bus psrpc.MessageBus, opts ...psrpc.ClientOption) (EmptyClient, error)
NewEmptyClient creates a psrpc client that implements the EmptyClient interface.
type EmptyServer ¶
type EmptyServer interface {
// Close and wait for pending RPCs to complete
Shutdown()
// Close immediately, without waiting for pending RPCs
Kill()
}
func NewEmptyServer ¶
func NewEmptyServer(serverID string, svc EmptyServerImpl, bus psrpc.MessageBus, opts ...psrpc.ServerOption) (EmptyServer, error)
NewEmptyServer builds a RPCServer that will route requests to the corresponding method in the provided svc implementation.
type EmptyServerImpl ¶
type EmptyServerImpl interface {
}
Click to show internal directories.
Click to hide internal directories.