package
Version:
v0.0.0-...-b0a7dda
Opens a new window with list of versions in this module.
Published: Mar 27, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DiscordCommandPrefix string
DiscordBotToken string
RestEnabled bool
RestGinRelease bool
RestHostname string
}
NewConfig creates a new Config object and returns it along with any error encountered.
No parameters.
Returns *Config and error.
String returns the JSON representation of the Config struct.
No parameters.
Returns a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.