server

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: AGPL-3.0 Imports: 22 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 struct {
	Resolver  *graph.Resolver
	Service   *uexky.Service
	TxAdapter adapter.Tx
}

func InitProdServer

func InitProdServer() (*Server, error)

func (*Server) AuthHandler

func (s *Server) AuthHandler(w http.ResponseWriter, req *http.Request)

func (*Server) GraphQLHandler

func (s *Server) GraphQLHandler() http.Handler

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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