server

package
v0.0.0-...-41b38f0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Serve() error
}

func NewServer

func NewServer(
	resolvers resolver.Resolver,
	authManager middlewares.AuthManager,
	options ServerOption,
) (Server, func())

type ServerOption

type ServerOption struct {
	Port               int
	CORSAllowedOrigins []string
	Environment        string
	DebugUser          string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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