config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultConfig

func CreateDefaultConfig(format string) ([]byte, error)

CreateDefaultConfig creates a default configuration with empty values

func FindDefaultConfigFile

func FindDefaultConfigFile() string

FindDefaultConfigFile looks for a config file in the current directory Returns empty string if no config file is found

func GetDefaultConfigPath

func GetDefaultConfigPath(format string) string

GetDefaultConfigPath returns the default configuration file path for the given format

func LoadConfigsFromFile

func LoadConfigsFromFile(configFilePath string) (*lib.AuthConfig, *lib.SenderConfig, *lib.CacheConfig, error)

LoadConfigsFromFile loads all configuration from a file and returns the individual configs

Types

This section is empty.

Jump to

Keyboard shortcuts

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