server

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceAuthServer

type DeviceAuthServer struct {
	dm.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 *dm.AccessAuthReq) (*dm.Response, error)

设备操作认证

func (*DeviceAuthServer) DeviceRegister added in v0.5.1

设备动态注册

func (*DeviceAuthServer) LoginAuth

func (s *DeviceAuthServer) LoginAuth(ctx context.Context, in *dm.LoginAuthReq) (*dm.Response, error)

设备登录认证

func (*DeviceAuthServer) RootCheck

func (s *DeviceAuthServer) RootCheck(ctx context.Context, in *dm.RootCheckReq) (*dm.Response, error)

鉴定是否是root账号

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL