Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessConf ¶
type AccessConf struct { Restrict bool Tables []TablesConf }
AccessConf informations
type Prest ¶
type Prest struct { // HTTPPort Declare which http port the PREST used HTTPPort int PGHost string PGPort int PGUser string PGPass string PGDatabase string PGMaxIdleConn int PGMAxOpenConn int PGConnTimeout int JWTKey string MigrationsPath string QueriesPath string AccessConf AccessConf CORSAllowOrigin []string }
Prest basic config
var PrestConf *Prest
PrestConf config variable
type TablesConf ¶
type TablesConf struct { Name string `mapstructure:"name"` Permissions []string `mapstructure:"permissions"` Fields []string `mapstructure:"fields"` }
TablesConf informations
Click to show internal directories.
Click to hide internal directories.