Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = &config{ Database: Database{ Driver: "postgres", IP: os.Getenv("POSTGRES_HOST"), Port: getPort(), User: os.Getenv("POSTGRES_USER"), Password: os.Getenv("POSTGRES_PASSWORD"), Name: os.Getenv("POSTGRES_DB"), ConnMaxIdle: 96, ConnMaxOpen: 144, ConnMaxLifetime: 10, Debug: false, SSLMode: "require", }, Server: Server{ IP: os.Getenv("SERVER_IP"), Port: 4510, }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.