config

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type CustomLogger

type CustomLogger struct {
	*logrus.Entry
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL