Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNullVal ¶
func GetNullVal(val *wrappers.StringValue) *string
func RPCToApiFmt ¶
func RPCToApiFmt(rpc interface{}) interface{}
Types ¶
type GetDeviceInfoLogic ¶
func NewGetDeviceInfoLogic ¶
func NewGetDeviceInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetDeviceInfoLogic
func (*GetDeviceInfoLogic) GetDeviceInfo ¶
func (l *GetDeviceInfoLogic) GetDeviceInfo(req types.GetDeviceInfoReq) (*types.GetDeviceInfoResp, error)
type GetProductInfoLogic ¶
func NewGetProductInfoLogic ¶
func NewGetProductInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetProductInfoLogic
func (*GetProductInfoLogic) GetProductInfo ¶
func (l *GetProductInfoLogic) GetProductInfo(req types.GetProductInfoReq) (*types.GetProductInfoResp, error)
type LoginAuthLogic ¶
func NewLoginAuthLogic ¶
func NewLoginAuthLogic(ctx context.Context, svcCtx *svc.ServiceContext) LoginAuthLogic
func (*LoginAuthLogic) LoginAuth ¶
func (l *LoginAuthLogic) LoginAuth(req types.LoginAuthReq) (err error)
type ManageDeviceLogic ¶
func NewManageDeviceLogic ¶
func NewManageDeviceLogic(ctx context.Context, svcCtx *svc.ServiceContext) ManageDeviceLogic
func (*ManageDeviceLogic) ManageDevice ¶
func (l *ManageDeviceLogic) ManageDevice(req types.ManageDeviceReq) (*types.DeviceInfo, error)
type ManageProductLogic ¶
func NewManageProductLogic ¶
func NewManageProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) ManageProductLogic
func (*ManageProductLogic) ManageProduct ¶
func (l *ManageProductLogic) ManageProduct(req types.ManageProductReq) (*types.ProductInfo, error)
Click to show internal directories.
Click to hide internal directories.