Documentation ¶
Index ¶
- type Service
- func (s *Service) AddPoint(c context.Context, arg *model.ArgPoint) (status int8, err error)
- func (s *Service) ConsumePoint(c context.Context, arg *model.ArgPointConsume) (status int8, err error)
- func (s *Service) Ping(c context.Context, arg *struct{}) (res *int, err error)
- func (s *Service) PointAddByBp(c context.Context, arg *model.ArgPointAdd) (res *int64, err error)
- func (s *Service) PointHistory(c context.Context, arg *model.ArgRPCPointHistory) (res *model.PointHistoryResp, err error)
- func (s *Service) PointInfo(c context.Context, arg *model.ArgRPCMid) (res *model.PointInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a question service.
func (*Service) ConsumePoint ¶
func (s *Service) ConsumePoint(c context.Context, arg *model.ArgPointConsume) (status int8, err error)
ConsumePoint consume point.
func (*Service) PointAddByBp ¶
PointAddByBp point add by bp.
func (*Service) PointHistory ¶
func (s *Service) PointHistory(c context.Context, arg *model.ArgRPCPointHistory) (res *model.PointHistoryResp, err error)
PointHistory point history.
Click to show internal directories.
Click to hide internal directories.