rpcserver

package
v1.1.46 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCRegServerFunc

type GRPCRegServerFunc = func(*grpc.Server)

type GRPCServer

type GRPCServer struct {
	log.InvokeLog
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(name string, addr string, regFunc GRPCRegServerFunc) (*GRPCServer, error)

func (*GRPCServer) Name

func (server *GRPCServer) Name() string

func (*GRPCServer) Run

func (server *GRPCServer) Run() error

func (*GRPCServer) Stop

func (server *GRPCServer) Stop() error

Jump to

Keyboard shortcuts

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