grpc

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New Member warden rpc server

Types

type MemberServer

type MemberServer struct {
	// contains filtered or unexported fields
}

MemberServer define member Service

func (*MemberServer) AddMoral

func (s *MemberServer) AddMoral(ctx context.Context, req *api.UpdateMoralReq) (*api.EmptyStruct, error)

AddMoral Add member's moral value

func (*MemberServer) AddUserMonitor

func (s *MemberServer) AddUserMonitor(ctx context.Context, req *api.AddUserMonitorReq) (*api.EmptyStruct, error)

AddUserMonitor add user monitor

func (*MemberServer) Base

Base get member base info

func (*MemberServer) Bases

Bases batch get members base info

func (*MemberServer) BatchAddMoral

func (s *MemberServer) BatchAddMoral(ctx context.Context, req *api.UpdateMoralsReq) (*api.UpdateMoralsReply, error)

BatchAddMoral Batch add member's moral value

func (*MemberServer) BlockBatchDetail

func (s *MemberServer) BlockBatchDetail(ctx context.Context, req *api.MemberMidsReq) (reply *api.BlockBatchDetailReply, err error)

BlockBatchDetail 批量查询封禁信息

func (*MemberServer) BlockBatchInfo

func (s *MemberServer) BlockBatchInfo(ctx context.Context, req *api.MemberMidsReq) (*api.BlockBatchInfoReply, error)

BlockBatchInfo 批量查询封禁信息

func (*MemberServer) BlockInfo

func (s *MemberServer) BlockInfo(ctx context.Context, req *api.MemberMidReq) (*api.BlockInfoReply, error)

BlockInfo 查询封禁信息

func (*MemberServer) Exp

func (s *MemberServer) Exp(ctx context.Context, req *api.MidReq) (*api.LevelInfoReply, error)

Exp get member exp info

func (*MemberServer) ExpLog

func (s *MemberServer) ExpLog(ctx context.Context, req *api.MidReq) (*api.UserLogsReply, error)

ExpLog get member exp logs

func (*MemberServer) ExpStat

func (s *MemberServer) ExpStat(ctx context.Context, req *api.MidReq) (*api.ExpStatReply, error)

ExpStat get exp status

func (*MemberServer) IsInMonitor

func (s *MemberServer) IsInMonitor(ctx context.Context, req *api.MidReq) (*api.IsInMonitorReply, error)

IsInMonitor check whether the member is in monitored status

func (*MemberServer) Level

func (s *MemberServer) Level(ctx context.Context, req *api.MidReq) (*api.LevelInfoReply, error)

Level get member lebel info

func (*MemberServer) Member

Member get member full information

func (*MemberServer) Members

Members Batch get members info

func (*MemberServer) MidByRealnameCard

MidByRealnameCard is

func (*MemberServer) Moral

func (s *MemberServer) Moral(ctx context.Context, req *api.MemberMidReq) (*api.MoralReply, error)

Moral Get member moral info

func (*MemberServer) MoralLog

func (s *MemberServer) MoralLog(ctx context.Context, req *api.MemberMidReq) (*api.UserLogsReply, error)

MoralLog Get member moral logs

func (*MemberServer) NickUpdated

func (s *MemberServer) NickUpdated(ctx context.Context, req *api.MemberMidReq) (*api.NickUpdatedReply, error)

NickUpdated Whether the member's nickname has been updated

func (*MemberServer) OfficialDoc

func (s *MemberServer) OfficialDoc(ctx context.Context, req *api.MidReq) (*api.OfficialDocInfoReply, error)

OfficialDoc Get member's offical doc

func (*MemberServer) RealnameApply

func (s *MemberServer) RealnameApply(ctx context.Context, req *api.ArgRealnameApplyReq) (*api.EmptyStruct, error)

RealnameApply apply for realname certification

func (*MemberServer) RealnameApplyStatus

func (s *MemberServer) RealnameApplyStatus(ctx context.Context, req *api.MemberMidReq) (*api.RealnameApplyInfoReply, error)

RealnameApplyStatus get member realname apply status

func (*MemberServer) RealnameDetail

func (s *MemberServer) RealnameDetail(ctx context.Context, req *api.MemberMidReq) (*api.RealnameDetailReply, error)

RealnameDetail detail about realname by mid

func (*MemberServer) RealnameStatus

func (s *MemberServer) RealnameStatus(ctx context.Context, req *api.MemberMidReq) (*api.RealnameStatusReply, error)

RealnameStatus get the member realname status

func (*MemberServer) RealnameStrippedInfo

func (s *MemberServer) RealnameStrippedInfo(ctx context.Context, req *api.MemberMidReq) (*api.RealnameStrippedInfoReply, error)

RealnameStrippedInfo is

func (*MemberServer) RealnameTelCapture

func (s *MemberServer) RealnameTelCapture(ctx context.Context, req *api.MemberMidReq) (*api.EmptyStruct, error)

RealnameTelCapture mobilePhone realname certification

func (*MemberServer) SetBirthday

func (s *MemberServer) SetBirthday(ctx context.Context, req *api.UpdateBirthdayReq) (*api.EmptyStruct, error)

SetBirthday Set member's birthday

func (*MemberServer) SetFace

func (s *MemberServer) SetFace(ctx context.Context, req *api.UpdateFaceReq) (*api.EmptyStruct, error)

SetFace Set member's face

func (*MemberServer) SetName

func (s *MemberServer) SetName(ctx context.Context, req *api.UpdateUnameReq) (*api.EmptyStruct, error)

SetName Set member's name

func (*MemberServer) SetNickUpdated

func (s *MemberServer) SetNickUpdated(ctx context.Context, req *api.MemberMidReq) (*api.EmptyStruct, error)

SetNickUpdated Mark nickname as updated

func (*MemberServer) SetOfficialDoc

func (s *MemberServer) SetOfficialDoc(ctx context.Context, req *api.OfficialDocReq) (*api.EmptyStruct, error)

SetOfficialDoc Set offical document

func (*MemberServer) SetRank

func (s *MemberServer) SetRank(ctx context.Context, req *api.UpdateRankReq) (*api.EmptyStruct, error)

SetRank Set member's rank

func (*MemberServer) SetSex

func (s *MemberServer) SetSex(ctx context.Context, req *api.UpdateSexReq) (*api.EmptyStruct, error)

SetSex Set member's sex

func (*MemberServer) SetSign

func (s *MemberServer) SetSign(ctx context.Context, req *api.UpdateSignReq) (*api.EmptyStruct, error)

SetSign Set member's sign

func (*MemberServer) UpdateExp

func (s *MemberServer) UpdateExp(ctx context.Context, req *api.AddExpReq) (*api.EmptyStruct, error)

UpdateExp update member exp value

Jump to

Keyboard shortcuts

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