Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringBytes ¶
RandStringBytes is a simple fonction helping to generate a pseudo-random string that may be used to get a jwt secret
Types ¶
type GlobalConf ¶
type GlobalConf struct { DbName string User string Password string Host string SslMode bool Port uint JwtSecret string JwtExpiration time.Duration }
GlobalConf store db connection informations
func (GlobalConf) DbStringConnection ¶
func (g GlobalConf) DbStringConnection() string
DbStringConnection return the string connection that will be used by postgres driver
Click to show internal directories.
Click to hide internal directories.