Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogFile = "log.txt" ConfigFile = "config.json" CredentialsFile = "credentials.json" TokenFile = "token.json" )
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
InitLogger initializes the default logger with the provided writer.
func OpenConfig ¶
OpenConfig opens the configuration file with the specified flags.
func OpenCredentials ¶
OpenCredentials opens the credentials file with the specified flags.
Types ¶
type Config ¶
type Config struct {
AutoStart bool `json:"auto_start"`
}
func LoadConfig ¶
LoadConfig loads the configuration from the configuration file.
Click to show internal directories.
Click to hide internal directories.