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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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