Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigManager ¶
type ConfigManager interface {
Get(key string) ([]byte, error)
Set(key string, value []byte) error
Delete(key string) error
Map() (map[string][]byte, error)
Defrag() error
Close() error
// contains filtered or unexported methods
}
ConfigManager provides methods to manage the config data.
func NewManager ¶
func NewManager(fileName string) (ConfigManager, error)
NewManager initializes and returns a new ConfigManager that can be used to manage the config data.
Click to show internal directories.
Click to hide internal directories.