Documentation ¶
Index ¶
- type CommonServer
- func (s *CommonServer) Config(ctx context.Context, in *sys.Empty) (*sys.ConfigResp, error)
- func (s *CommonServer) QRCodeRead(ctx context.Context, in *sys.QRCodeReadReq) (*sys.QRCodeReadResp, error)
- func (s *CommonServer) ServiceInfoRead(ctx context.Context, in *sys.WithCode) (*sys.ServiceInfo, error)
- func (s *CommonServer) ServiceInfoUpdate(ctx context.Context, in *sys.ServiceInfo) (*sys.Empty, error)
- func (s *CommonServer) SlotInfoCreate(ctx context.Context, in *sys.SlotInfo) (*sys.WithID, error)
- func (s *CommonServer) SlotInfoDelete(ctx context.Context, in *sys.WithID) (*sys.Empty, error)
- func (s *CommonServer) SlotInfoIndex(ctx context.Context, in *sys.SlotInfoIndexReq) (*sys.SlotInfoIndexResp, error)
- func (s *CommonServer) SlotInfoRead(ctx context.Context, in *sys.WithID) (*sys.SlotInfo, error)
- func (s *CommonServer) SlotInfoUpdate(ctx context.Context, in *sys.SlotInfo) (*sys.Empty, error)
- func (s *CommonServer) WeatherRead(ctx context.Context, in *sys.WeatherReadReq) (*sys.WeatherReadResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonServer ¶
type CommonServer struct { sys.UnimplementedCommonServer // contains filtered or unexported fields }
func NewCommonServer ¶
func NewCommonServer(svcCtx *svc.ServiceContext) *CommonServer
func (*CommonServer) Config ¶
func (s *CommonServer) Config(ctx context.Context, in *sys.Empty) (*sys.ConfigResp, error)
func (*CommonServer) QRCodeRead ¶
func (s *CommonServer) QRCodeRead(ctx context.Context, in *sys.QRCodeReadReq) (*sys.QRCodeReadResp, error)
func (*CommonServer) ServiceInfoRead ¶ added in v1.0.1
func (s *CommonServer) ServiceInfoRead(ctx context.Context, in *sys.WithCode) (*sys.ServiceInfo, error)
func (*CommonServer) ServiceInfoUpdate ¶ added in v1.0.1
func (s *CommonServer) ServiceInfoUpdate(ctx context.Context, in *sys.ServiceInfo) (*sys.Empty, error)
func (*CommonServer) SlotInfoCreate ¶
func (*CommonServer) SlotInfoDelete ¶
func (*CommonServer) SlotInfoIndex ¶
func (s *CommonServer) SlotInfoIndex(ctx context.Context, in *sys.SlotInfoIndexReq) (*sys.SlotInfoIndexResp, error)
func (*CommonServer) SlotInfoRead ¶
func (*CommonServer) SlotInfoUpdate ¶
func (*CommonServer) WeatherRead ¶
func (s *CommonServer) WeatherRead(ctx context.Context, in *sys.WeatherReadReq) (*sys.WeatherReadResp, error)
Click to show internal directories.
Click to hide internal directories.