api

package
v0.0.0-...-a78adbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CORS

type CORS struct {
	Allowed []string
	Headers []string
	Methods []string
}

type Env

type Env struct {
	Addr    string
	Port    string
	CORS    CORS
	Graphql Graphql
}

func New

func New(params Params) *Env

type Graphql

type Graphql struct {
	Introspection bool
	Playground    bool
}

type Params

type Params struct {
	fx.In

	Cfg *config.Config
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL