Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { ChatID int `envconfig:"CHAT_ID"` Token string `envconfig:"TOKEN"` DatabasePath string `envconfig:"DATABASE_PATH"` ScheduleItems []ScheduleItem `yaml:"schedule"` }
func NewAppConfig ¶
func (*AppConfig) GetDatabasePath ¶
func (*AppConfig) GetSchedule ¶
func (c *AppConfig) GetSchedule() []ScheduleItem
Click to show internal directories.
Click to hide internal directories.