Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORSConfig ¶
type CORSConfig struct { AllowCredentials bool AllowedHeaders []string AllowedOrigins []string IgnoreOptions bool }
func CORSConfigFromMap ¶
func CORSConfigFromMap(m map[interface{}]interface{}) *CORSConfig
func CORSConfigFromViper ¶
func CORSConfigFromViper() *CORSConfig
type Conf ¶
type Conf struct { Hostname string Addr string RootDir string HotReload bool ResolverDir string Graphiql bool User *User UID, GID uint32 MaxBodyReadSize int64 CORS *CORSConfig BasicAuth *BasicAuth TLS *TLS Context *Context Log *Log Graphs []GraphConf }
var Config Conf
Click to show internal directories.
Click to hide internal directories.