empty_service

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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 {
}

Jump to

Keyboard shortcuts

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