uadpagent

package
Version: v0.0.0-...-520a03a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func NewModule

func NewModule(logger *log.Logger) *Module

func (*Module) GetDependencies

func (m *Module) GetDependencies() []string

func (*Module) Start

func (m *Module) Start() error

func (*Module) Stop

func (m *Module) Stop() error

func (*Module) WaitEnable

func (m *Module) WaitEnable()

type UadpAgent

type UadpAgent struct {
	// contains filtered or unexported fields
}

func (*UadpAgent) GetDataKey

func (u *UadpAgent) GetDataKey(sender dbus.Sender, keyName string) (dataKey string, busErr *dbus.Error)

提供给用户调用,用户通过此接口获取密钥

func (*UadpAgent) GetExportedMethods

func (v *UadpAgent) GetExportedMethods() dbusutil.ExportedMethods

func (*UadpAgent) GetInterfaceName

func (*UadpAgent) GetInterfaceName() string

func (*UadpAgent) SetDataKey

func (u *UadpAgent) SetDataKey(sender dbus.Sender, keyName string, dataKey string) *dbus.Error

提供给应用调用,用户通过此接口存储密钥

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL