rpc

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 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 PlayerRpc added in v1.1.6

type PlayerRpc struct {
}

func (*PlayerRpc) GetPlayerInfo added in v1.1.6

func (this *PlayerRpc) GetPlayerInfo(ctx context.Context, req *proto.GetPlayerInfoReq, reply *proto.GetPlayerInfoResponse) (err error)

GetPlayerInfo is server rpc method as defined

type StudentRpc added in v1.0.5

type StudentRpc struct {
}

func (*StudentRpc) Learn added in v1.1.6

func (this *StudentRpc) Learn(ctx context.Context, req *proto.LearnReq, reply *proto.LearnReply) (err error)

Learn is server rpc method as defined

type TeacherRpc added in v1.1.6

type TeacherRpc struct {
}

func (*TeacherRpc) Teach added in v1.1.6

func (this *TeacherRpc) Teach(ctx context.Context, req *proto.TeachReq, reply *proto.TeachReply) (err error)

Teach is server rpc method as defined

Jump to

Keyboard shortcuts

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