example

package
v1.1.32 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGRPCService

func SetGRPCService(server *rpc.Server, handler *Handler)

SetGRPCService register gRPC handler

Types

type Handler

type Handler struct {
}

func NewHandler

func NewHandler() *Handler

func (*Handler) Echo

func (e *Handler) Echo(ctx context.Context, req *pb.EchoRequest) (resp *pb.EchoReply, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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