Documentation ¶
Index ¶
- type RPC
- type Service
- func (s *Service) Info(c context.Context, arg *model.ArgInfo) (res *model.UpInfo, err error)
- func (s *Service) SetUpSwitch(c context.Context, arg *model.ArgUpSwitch) (res *model.PBSetUpSwitchRes, err error)
- func (s *Service) Special(c context.Context, arg *model.ArgSpecial) (res []*model.UpSpecial, err error)
- func (s *Service) UpStatBase(c context.Context, arg *model.ArgMidWithDate) (res *model.UpBaseStat, err error)
- func (s *Service) UpSwitch(c context.Context, arg *model.ArgUpSwitch) (res *model.PBUpSwitch, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPC ¶
type RPC interface { // DEPRECATED: Please use gRPC service of func UpGroupMids instead, but must get datas in many times by one time of max 1000. Special(c context.Context, arg *model.ArgSpecial) (res []*model.UpSpecial, err error) // DEPRECATED: Please use gRPC service of func UpAttr instead. Info(c context.Context, arg *model.ArgInfo) (res *model.UpInfo, err error) }
RPC rpc
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service rpc client
func (*Service) SetUpSwitch ¶
func (s *Service) SetUpSwitch(c context.Context, arg *model.ArgUpSwitch) (res *model.PBSetUpSwitchRes, err error)
SetUpSwitch set up switch DEPRECATED: Please use gRPC service func SetUpSwitch instead.
func (*Service) Special ¶
func (s *Service) Special(c context.Context, arg *model.ArgSpecial) (res []*model.UpSpecial, err error)
Special special DEPRECATED: Please use gRPC service of func UpGroupMids instead, but must get datas in many times by one time of max 1000.
func (*Service) UpStatBase ¶
func (s *Service) UpStatBase(c context.Context, arg *model.ArgMidWithDate) (res *model.UpBaseStat, err error)
UpStatBase base statis DEPRECATED: Please use gRPC service func UpBaseStats instead.
func (*Service) UpSwitch ¶
func (s *Service) UpSwitch(c context.Context, arg *model.ArgUpSwitch) (res *model.PBUpSwitch, err error)
UpSwitch get up switch DEPRECATED: Please use gRPC service func UpSwitch instead.
Click to show internal directories.
Click to hide internal directories.