Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int CommentServiceBaseurl string VoteServiceBaseurl string ProfileServiceBaseurl string DBUsername string DBPassword string DBHost string DBPort int Database string SecretKey string }
Config contains the configuration for the service
func LoadConfig ¶
func LoadConfig() Config
LoadConfig returns the config from the environment variables
Click to show internal directories.
Click to hide internal directories.