Documentation ¶ Index ¶ type Config func LoadConfig() (*Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { RedditClientID string RedditClientSecret string UserAgent string // token info InitialToken string ExpiresIn int SubReddit string Port int } func LoadConfig ¶ func LoadConfig() (*Config, error) Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.