Documentation ¶
Overview ¶
Package config contains the code to read user's configuration. Inspired by https://benaiah.me/posts/configuring-go-apps-with-toml/
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Buffer: BufferOptions{ BufferSize: 10, }, }
Functions ¶
func GetDefaultConfigDir ¶
Types ¶
type BufferOptions ¶
type Config ¶
type Config struct {
Buffer BufferOptions
}
func LoadConfig ¶
func LoadDefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.