handler

package
v1.0.1-rel-01 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralGodbRpc

type GeneralGodbRpc struct{}

func NewGeneralGodbRpc

func NewGeneralGodbRpc() *GeneralGodbRpc

func (*GeneralGodbRpc) Execute

func (rpc *GeneralGodbRpc) Execute(ctx context.Context, req *godbProto.DbRequest, rsp *godbProto.DbReply) error

实现了user.pb.micro.go中的UserHandler接口

type HelloRpc

type HelloRpc struct{}

func NewHelloRpc

func NewHelloRpc() *HelloRpc

func (*HelloRpc) SayHello

func (rpc *HelloRpc) SayHello(ctx context.Context, req *helloProto.HelloRequest, rsp *helloProto.HelloReply) error

实现了user.pb.micro.go中的UserHandler接口

Jump to

Keyboard shortcuts

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