Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SlackUserToken string `env:"SLACK_USER_TOKEN,required"` SlackAppToken string `env:"SLACK_APP_TOKEN,required"` SlackBotToken string `env:"SLACK_BOT_TOKEN,required"` SlackCacheDuration time.Duration `env:"SLACK_CACHE_DURATION" envDefault:"5m"` SlackDetermineYearCacheDuration time.Duration `env:"SLACK_DETERMINE_YEAR_CACHE_DURATION" envDefault:"72h"` // MCG Joinを監視するチャンネル MCGJoinChannelRegex string `env:"MCG_JOIN_CHANNEL_REGEX" envDefault:"^([0-9]{4})-general$"` LogLevelString string `env:"LOG_LEVEL" envDefault:"info"` LogLevel slog.Level }
Click to show internal directories.
Click to hide internal directories.