Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Get(string, any) any Set(string, any) List() []string Load() error Save() error }
Config holds persistent configuration.
type SessionConfig ¶
type SessionConfig struct { CfgFile *string Address *string Database *string Username *string Password *string Format *string }
SessionConfig holds config, which should be forgotten upon exit.
func NewSessionConfig ¶
func NewSessionConfig() *SessionConfig
NewSessionConfig initializes a new SessionConfig with default values.
Click to show internal directories.
Click to hide internal directories.