config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel        string `` /* 138-byte string literal not displayed */
	MaxMsgPerMin    int    `` /* 178-byte string literal not displayed */
	OSCARHost       string `envconfig:"OSCAR_HOST" required:"true" val:"127.0.0.1" description:"The OSCAR hostname to connect to."`
	OSCARPort       string `envconfig:"OSCAR_PORT" required:"true" val:"5190" description:"The OSCAR port to connect to."`
	OfflineMode     bool   `` /* 148-byte string literal not displayed */
	OpenAIKey       string `envconfig:"OPEN_AI_KEY" required:"false" val:"" description:"Key required to connect to the OpenAI API."`
	Password        string `envconfig:"PASSWORD" required:"true" val:"" description:"The bot's account password."`
	ScreenName      string `envconfig:"SCREEN_NAME" required:"true" val:"smartersmarterchild" description:"The bot's screen name."`
	WordCountLimit  int    `` /* 132-byte string literal not displayed */
	WordLengthLimit int    `` /* 136-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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