Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Changesets = `` /* 1961-byte string literal not displayed */
Changesets is the database migrations.
Functions ¶
Types ¶
type Settings ¶
type Settings struct { Port int `env:"API_PORT" default:"8080"` Secret string `env:"API_SECRET" default:"TA8tALZAvLVLo4ToI44xF/nF6IyrRNOR6HSfpno/81M="` SessionTimeout int `env:"API_SESSION_TIMEOUT" default:"480"` // 480 min = 8 hours. }
Settings holds the variables for the application and the defaults.
Click to show internal directories.
Click to hide internal directories.