Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomLogger ¶
func NewLogger ¶
func NewLogger(instanceName string) *CustomLogger
func (*CustomLogger) Debugf ¶
func (l *CustomLogger) Debugf(format string, args ...interface{})
func (*CustomLogger) Errorf ¶
func (l *CustomLogger) Errorf(format string, args ...interface{})
func (*CustomLogger) Infof ¶
func (l *CustomLogger) Infof(format string, args ...interface{})
func (*CustomLogger) Warnf ¶
func (l *CustomLogger) Warnf(format string, args ...interface{})
type Environment ¶
type Environment struct {
DISCORD_BOT_TOKEN string
COMMANDS_CHANNEL_ID string
TWITCH_CLIENT_ID string
TWITCH_CLIENT_SECRET string
ENCRYPTION_KEY string
}
func GetEnv ¶
func GetEnv() *Environment
Click to show internal directories.
Click to hide internal directories.