rpc

package
v0.0.0-...-c188a41 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetadata

func GetMetadata(ctx context.Context, key string) (value string, err error)

Types

type RpcReg

type RpcReg func(r *grpc.Server)

type RpcServer

type RpcServer struct {
	// contains filtered or unexported fields
}

func (*RpcServer) Init

func (s *RpcServer) Init()

func (*RpcServer) RegService

func (s *RpcServer) RegService(reg RpcReg) *RpcServer

func (*RpcServer) Run

func (s *RpcServer) Run()

func (*RpcServer) Stop

func (s *RpcServer) Stop()

Jump to

Keyboard shortcuts

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