Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { JwtKey string `json:"jwt_key"` Redis RedisConfig `json:"redis"` Database DatabaseConfig `json:"database"` TokenTimeDuration uint `json:"token_time_duration"` // Minutes }
type DatabaseConfig ¶
type DatabaseConfig struct { Addr string `json:"addr"` User string `json:"user"` Password string `json:"password"` Database string `json:"database"` }
FIXME: support for postgreDB
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.