no_package_name_importer

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_no_package_name_importer_no_package_name_importer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Svc2Client

type Svc2Client interface {
	Method(context.Context, *no_package_name.Msg, ...psrpc.RequestOption) (*no_package_name.Msg, error)
}

func NewSvc2Client

func NewSvc2Client(clientID string, bus psrpc.MessageBus, opts ...psrpc.ClientOption) (Svc2Client, error)

NewSvc2Client creates a psrpc client that implements the Svc2Client interface.

type Svc2Server

type Svc2Server interface {
	// Close and wait for pending RPCs to complete
	Shutdown()

	// Close immediately, without waiting for pending RPCs
	Kill()
}

func NewSvc2Server

func NewSvc2Server(serverID string, svc Svc2ServerImpl, bus psrpc.MessageBus, opts ...psrpc.ServerOption) (Svc2Server, error)

NewSvc2Server builds a RPCServer that will route requests to the corresponding method in the provided svc implementation.

type Svc2ServerImpl

type Svc2ServerImpl interface {
	Method(context.Context, *no_package_name.Msg) (*no_package_name.Msg, error)
}

Jump to

Keyboard shortcuts

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