Documentation ¶
Index ¶
- func Access(ctx context.Context, obj interface{}, next graphql.Resolver, scope string, ...) (interface{}, error)
- func EmailRecover(config ini.File, debug bool, srv string) graphql.RecoverFunc
- func Internal(ctx context.Context, obj interface{}, next graphql.Resolver) (interface{}, error)
- func ListenAndServe(router chi.Router)
- func LoadConfig(defaultAddr string) ini.File
- func MakeRouter(service string, conf ini.File, schema graphql.ExecutableSchema, ...) chi.Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmailRecover ¶
func EmailRecover(config ini.File, debug bool, srv string) graphql.RecoverFunc
Provides a graphql.RecoverFunc which will print the stack trace, and if debug mode is not enabled, email it to the administrator.
func LoadConfig ¶
func LoadConfig(defaultAddr string) ini.File
Loads the application configuration, reads options from the command line, and initializes some internals based on these results.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.