pk

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(cm *config.ConfigManager) *Manager

func (*Manager) AddPublicKey

func (p *Manager) AddPublicKey(publicKey string) error

AddPublicKey 新增公钥

func (*Manager) ClearPublicKey

func (p *Manager) ClearPublicKey() error

ClearPublicKey 清空公钥列表

func (*Manager) DeletePublicKey

func (p *Manager) DeletePublicKey(publicKey string) error

DeletePublicKey 删除公钥

func (*Manager) QueryPublicKey

func (p *Manager) QueryPublicKey(publicKey string) (bool, error)

QueryPublicKey 查询公钥是否存在

Jump to

Keyboard shortcuts

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