Documentation ¶
Index ¶
- func New(c *conf.Config, s *service.Service) *rpc.Server
- type RPC
- func (r *RPC) AddMoral(c context.Context, arg *model.ArgUpdateMoral, res *struct{}) (err error)
- func (r *RPC) AddPropertyReview(ctx context.Context, arg *model.ArgAddPropertyReview, res *struct{}) error
- func (r *RPC) AddUserMonitor(ctx context.Context, arg *model.ArgAddUserMonitor, res *struct{}) error
- func (r *RPC) Base(c context.Context, arg *model.ArgMemberMid, res *model.BaseInfo) (err error)
- func (r *RPC) Bases(c context.Context, arg *model.ArgMemberMids, res *map[int64]*model.BaseInfo) (err error)
- func (r *RPC) BatchAddMoral(c context.Context, arg *model.ArgUpdateMorals, res *map[int64]int64) (err error)
- func (r *RPC) BlockBatchInfo(c context.Context, arg *rpcmodel.RPCArgBatchInfo, res *[]*rpcmodel.RPCResInfo) (err error)
- func (r *RPC) BlockInfo(c context.Context, arg *rpcmodel.RPCArgInfo, res *rpcmodel.RPCResInfo) (err error)
- func (r *RPC) Exp(c context.Context, arg *model.ArgMid2, res *model.LevelInfo) (err error)
- func (r *RPC) IsInMonitor(ctx context.Context, arg *model.ArgMid, res *bool) error
- func (r *RPC) Level(c context.Context, arg *model.ArgMid2, res *model.LevelInfo) (err error)
- func (r *RPC) Log(c context.Context, arg *model.ArgMid2, res *[]*model.UserLog) (err error)
- func (r *RPC) Member(c context.Context, arg *model.ArgMemberMid, res *model.Member) (err error)
- func (r *RPC) Members(c context.Context, arg *model.ArgMemberMids, res *map[int64]*model.Member) (err error)
- func (r *RPC) Moral(c context.Context, arg *model.ArgMemberMid, res *model.Moral) (err error)
- func (r *RPC) MoralLog(c context.Context, arg *model.ArgMemberMid, res *[]*model.UserLog) (err error)
- func (r *RPC) NickUpdated(c context.Context, arg *model.ArgMemberMid, res *bool) (err error)
- func (r *RPC) OfficialDoc(c context.Context, arg *model.ArgMid, res *model.OfficialDoc) (err error)
- func (r *RPC) Ping(c context.Context, arg *struct{}, res *struct{}) (err error)
- func (r *RPC) RealnameAlipayApply(c context.Context, arg *model.ArgRealnameAlipayApply, res *struct{}) (err error)
- func (r *RPC) RealnameAlipayBizno(c context.Context, arg *model.ArgMemberMid, res *model.RealnameAlipayInfo) (err error)
- func (r *RPC) RealnameAlipayConfirm(c context.Context, arg *model.ArgRealnameAlipayConfirm, res *struct{}) (err error)
- func (r *RPC) RealnameApply(c context.Context, arg *model.ArgRealnameApply, res *struct{}) (err error)
- func (r *RPC) RealnameApplyStatus(c context.Context, arg *model.ArgMemberMid, res *model.RealnameApplyStatusInfo) (err error)
- func (r *RPC) RealnameDetail(ctx context.Context, arg *model.ArgMemberMid, res *model.RealnameDetail) error
- func (r *RPC) RealnameStatus(c context.Context, arg *model.ArgMemberMid, res *model.RealnameStatus) (err error)
- func (r *RPC) RealnameTelCapture(c context.Context, arg *model.ArgMemberMid, res *struct{}) (err error)
- func (r *RPC) SetBirthday(c context.Context, arg *model.ArgUpdateBirthday, res *struct{}) (err error)
- func (r *RPC) SetFace(c context.Context, arg *model.ArgUpdateFace, res *struct{}) (err error)
- func (r *RPC) SetName(c context.Context, arg *model.ArgUpdateUname, res *struct{}) (err error)
- func (r *RPC) SetNickUpdated(c context.Context, arg *model.ArgMemberMid, res *struct{}) (err error)
- func (r *RPC) SetOfficialDoc(c context.Context, arg *model.ArgOfficialDoc, res *struct{}) (err error)
- func (r *RPC) SetRank(c context.Context, arg *model.ArgUpdateRank, res *struct{}) (err error)
- func (r *RPC) SetSex(c context.Context, arg *model.ArgUpdateSex, res *struct{}) (err error)
- func (r *RPC) SetSign(c context.Context, arg *model.ArgUpdateSign, res *struct{}) (err error)
- func (r *RPC) Stat(c context.Context, arg *model.ArgMid2, res *model.ExpStat) (err error)
- func (r *RPC) UpdateExp(c context.Context, arg *model.ArgAddExp, res *struct{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
RPC is.
func (*RPC) AddPropertyReview ¶
func (r *RPC) AddPropertyReview(ctx context.Context, arg *model.ArgAddPropertyReview, res *struct{}) error
AddPropertyReview add user property update review.
func (*RPC) AddUserMonitor ¶
func (r *RPC) AddUserMonitor(ctx context.Context, arg *model.ArgAddUserMonitor, res *struct{}) error
AddUserMonitor is add user into monitor
func (*RPC) Bases ¶
func (r *RPC) Bases(c context.Context, arg *model.ArgMemberMids, res *map[int64]*model.BaseInfo) (err error)
Bases get batch user base info.
func (*RPC) BatchAddMoral ¶
func (r *RPC) BatchAddMoral(c context.Context, arg *model.ArgUpdateMorals, res *map[int64]int64) (err error)
BatchAddMoral batch add moral.
func (*RPC) BlockBatchInfo ¶
func (r *RPC) BlockBatchInfo(c context.Context, arg *rpcmodel.RPCArgBatchInfo, res *[]*rpcmodel.RPCResInfo) (err error)
BlockBatchInfo is
func (*RPC) BlockInfo ¶
func (r *RPC) BlockInfo(c context.Context, arg *rpcmodel.RPCArgInfo, res *rpcmodel.RPCResInfo) (err error)
BlockInfo is
func (*RPC) IsInMonitor ¶
IsInMonitor check user is in monitor
func (*RPC) Members ¶
func (r *RPC) Members(c context.Context, arg *model.ArgMemberMids, res *map[int64]*model.Member) (err error)
Members get batch member info.
func (*RPC) MoralLog ¶
func (r *RPC) MoralLog(c context.Context, arg *model.ArgMemberMid, res *[]*model.UserLog) (err error)
MoralLog get user moral log.
func (*RPC) NickUpdated ¶
NickUpdated get nickUpdated.
func (*RPC) OfficialDoc ¶
OfficialDoc is.
func (*RPC) RealnameAlipayApply ¶
func (r *RPC) RealnameAlipayApply(c context.Context, arg *model.ArgRealnameAlipayApply, res *struct{}) (err error)
RealnameAlipayApply commit a alipay realname apply
func (*RPC) RealnameAlipayBizno ¶
func (r *RPC) RealnameAlipayBizno(c context.Context, arg *model.ArgMemberMid, res *model.RealnameAlipayInfo) (err error)
RealnameAlipayBizno get alipay realname certify bizno by mid
func (*RPC) RealnameAlipayConfirm ¶
func (r *RPC) RealnameAlipayConfirm(c context.Context, arg *model.ArgRealnameAlipayConfirm, res *struct{}) (err error)
RealnameAlipayConfirm confirm a alipay realname apply
func (*RPC) RealnameApply ¶
func (r *RPC) RealnameApply(c context.Context, arg *model.ArgRealnameApply, res *struct{}) (err error)
RealnameApply is
func (*RPC) RealnameApplyStatus ¶
func (r *RPC) RealnameApplyStatus(c context.Context, arg *model.ArgMemberMid, res *model.RealnameApplyStatusInfo) (err error)
RealnameApplyStatus is
func (*RPC) RealnameDetail ¶
func (r *RPC) RealnameDetail(ctx context.Context, arg *model.ArgMemberMid, res *model.RealnameDetail) error
RealnameDetail detail about realname by mid
func (*RPC) RealnameStatus ¶
func (r *RPC) RealnameStatus(c context.Context, arg *model.ArgMemberMid, res *model.RealnameStatus) (err error)
RealnameStatus is
func (*RPC) RealnameTelCapture ¶
func (r *RPC) RealnameTelCapture(c context.Context, arg *model.ArgMemberMid, res *struct{}) (err error)
RealnameTelCapture is
func (*RPC) SetBirthday ¶
func (r *RPC) SetBirthday(c context.Context, arg *model.ArgUpdateBirthday, res *struct{}) (err error)
SetBirthday set birthday.
func (*RPC) SetNickUpdated ¶
SetNickUpdated set nickUpdated.
func (*RPC) SetOfficialDoc ¶
func (r *RPC) SetOfficialDoc(c context.Context, arg *model.ArgOfficialDoc, res *struct{}) (err error)
SetOfficialDoc set official doc.