rpc

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StudentRpc added in v1.0.5

type StudentRpc struct {
}

func (*StudentRpc) Hello added in v1.0.5

func (this *StudentRpc) Hello(ctx context.Context, req *proto.HelloReq, reply *proto.HelloReply) (err error)

Hello is server rpc method as defined

type UserRpc

type UserRpc struct {
}

func (*UserRpc) GetInfo

func (this *UserRpc) GetInfo(ctx context.Context, req *proto.GetInfoReq, reply *proto.GetInfoReply) (err error)

GetInfo is server rpc method as defined

func (*UserRpc) SayHello

func (this *UserRpc) SayHello(ctx context.Context, req *proto.SayHelloReq, reply *proto.SayHelloReply) (err error)

SayHello is server rpc method as defined

Jump to

Keyboard shortcuts

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