Documentation ¶
Overview ¶
Package server handles the GraphQL HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFlags ¶
ConfigFlags helps configure cobra and viper flags.
func WriteTreatments ¶
func WriteTreatments(p string) httprouter.Handle
Types ¶
type Config ¶
type Config struct { Addr string `mapstructure:"addr"` Treatments string `mapstructure:"treatments"` Production bool `mapstructure:"-"` }
Config is server configuration.
Click to show internal directories.
Click to hide internal directories.