Documentation ¶
Index ¶
- type DeviceAuthServer
- func (s *DeviceAuthServer) AccessAuth(ctx context.Context, in *dg.AccessAuthReq) (*dg.Response, error)
- func (s *DeviceAuthServer) DeviceRegister(ctx context.Context, in *dg.DeviceRegisterReq) (*dg.DeviceRegisterResp, error)
- func (s *DeviceAuthServer) LoginAuth(ctx context.Context, in *dg.LoginAuthReq) (*dg.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceAuthServer ¶
type DeviceAuthServer struct { dg.UnimplementedDeviceAuthServer // contains filtered or unexported fields }
func NewDeviceAuthServer ¶
func NewDeviceAuthServer(svcCtx *svc.ServiceContext) *DeviceAuthServer
func (*DeviceAuthServer) AccessAuth ¶
func (s *DeviceAuthServer) AccessAuth(ctx context.Context, in *dg.AccessAuthReq) (*dg.Response, error)
设备操作认证
func (*DeviceAuthServer) DeviceRegister ¶
func (s *DeviceAuthServer) DeviceRegister(ctx context.Context, in *dg.DeviceRegisterReq) (*dg.DeviceRegisterResp, error)
设备动态注册
func (*DeviceAuthServer) LoginAuth ¶
func (s *DeviceAuthServer) LoginAuth(ctx context.Context, in *dg.LoginAuthReq) (*dg.Response, error)
设备登录认证
Click to show internal directories.
Click to hide internal directories.