Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Interaction struct { PublicKey []string `yaml:"publicKey"` SlashCommand struct { RespondingInteractionLate bool `yaml:"responding_interaction_late"` } `yaml:"slash_command"` } `yaml:"interaction"` Server struct { Port int `yaml:"port"` Debug bool `yaml:"server_debug"` DebugHard bool `yaml:"server_debug_hard"` LogConnectionWs bool `yaml:"log_connection_ws"` } `yaml:"server"` WS struct { Local bool `yaml:"local"` Secret string `yaml:"secret"` } `yaml:"ws"` }
func Load ¶
func Load() *Configuration
Click to show internal directories.
Click to hide internal directories.