Documentation ¶
Index ¶
- type Client
- func (c *Client) GetConfigDir() string
- func (c *Client) Load(prefix, key string, v interface{}, allowEmpty bool) error
- func (c *Client) LoadAndStore(prefix, key string, v interface{}, allowEmpty bool) error
- func (c *Client) SetPassword(password, salt string)
- func (c *Client) Store(prefix, key string, v interface{}) error
- type MgrCenter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetConfigDir ¶
func (*Client) LoadAndStore ¶
Load config from config file first, then encrypt and store config to disk.
func (*Client) SetPassword ¶
Click to show internal directories.
Click to hide internal directories.