rpc

package
v0.0.0-...-aa3a8fa Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCServer

type RPCServer struct {
	*grpc.Server
}

func NewRPCServer

func NewRPCServer(config *viper.Viper) (server *RPCServer, err error)

func (*RPCServer) Push

func (self *RPCServer) Push(ctx context.Context, record *proto.LogRequest) (
	*proto.LogResponse, error)

biz

func (*RPCServer) Run

func (self *RPCServer) Run(listener net.Listener) (err error)

Jump to

Keyboard shortcuts

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