Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessAuthReq ¶
type AccessAuthReq = dg.AccessAuthReq
type DeviceAuth ¶
type DeviceAuth interface { // 设备登录认证 LoginAuth(ctx context.Context, in *LoginAuthReq, opts ...grpc.CallOption) (*Response, error) // 设备操作认证 AccessAuth(ctx context.Context, in *AccessAuthReq, opts ...grpc.CallOption) (*Response, error) // 设备动态注册 DeviceRegister(ctx context.Context, in *DeviceRegisterReq, opts ...grpc.CallOption) (*DeviceRegisterResp, error) }
func NewDeviceAuth ¶
func NewDeviceAuth(cli zrpc.Client) DeviceAuth
func NewDirectDeviceAuth ¶
func NewDirectDeviceAuth(svcCtx *svc.ServiceContext, svr dg.DeviceAuthServer) DeviceAuth
type DeviceRegisterReq ¶
type DeviceRegisterReq = dg.DeviceRegisterReq
type DeviceRegisterResp ¶
type DeviceRegisterResp = dg.DeviceRegisterResp
type LoginAuthReq ¶
type LoginAuthReq = dg.LoginAuthReq
Click to show internal directories.
Click to hide internal directories.