package
2.3.0+incompatible
Repository: https://github.com/ritlug/teleirc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

LoadConfig loads in the .env file in the provided path (or ".env" by default) If the user-provided config is valid, return a new Settings struct that contains these settings.
NewMockDebugLogger creates a new mock instance.

# Structs

Debug contains information about the debug level.
ImgurSettings includes settings related to Imgur uploading for Telegram photos.
IRCSettings includes settings related to the IRC bot/message relaying.
MockDebugLogger is a mock of DebugLogger interface.
MockDebugLoggerMockRecorder is the mock recorder for MockDebugLogger.
Settings includes all user-configurable settings for TeleIRC.
TelegramSettings includes settings related to the Telegram bot/message relaying.

# Interfaces

DebugLogger provides an interface to call the logging functions.

# Type aliases

ConfigErrors lets us wrap the validator errors in a type we can return.