mapper

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseMapperName = "base"
	RootCAKey      = "rootca"
)

Variables

This section is empty.

Functions

func GetMainStoreKey

func GetMainStoreKey() string

Types

type MainMapper

type MainMapper struct {
	*mapper.BaseMapper
}

func NewMainMapper

func NewMainMapper() *MainMapper

func (*MainMapper) Copy

func (mapper *MainMapper) Copy() mapper.IMapper

func (*MainMapper) GetRootCA added in v0.0.2

func (mapper *MainMapper) GetRootCA() crypto.PubKey

获取CA

func (*MainMapper) MapperName

func (mapper *MainMapper) MapperName() string

func (*MainMapper) SetRootCA

func (mapper *MainMapper) SetRootCA(pubKey crypto.PubKey) error

保存CA

Jump to

Keyboard shortcuts

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