Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
// contains filtered or unexported fields
}
AppConfig holds the server configuration
func NewAppConfig ¶
func NewAppConfig() *AppConfig
Gets the app configuration from svault.toml with default values if absent
func (*AppConfig) GetNotifConfig ¶
func (ac *AppConfig) GetNotifConfig() *config.NotifConfig
GetNotifConfig returns the notification configuration
func (*AppConfig) GetSeverConfig ¶
func (ac *AppConfig) GetSeverConfig() *config.ServerConfig
GetSeverConfig returns the server configuration
Click to show internal directories.
Click to hide internal directories.