server

package
v0.0.0-...-335ed28 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppProvider

func AppProvider(lifecycle fx.Lifecycle) *echo.Echo

Fx Provider

func GraphqlHandler

func GraphqlHandler(module generated.Config) echo.HandlerFunc

GraphQL Query Handler

func InvokeHandler

func InvokeHandler(app *echo.Echo, handlers *AppHandlers)

Fx Invoke Handler

func InvokeMiddleWare

func InvokeMiddleWare(app *echo.Echo, handlers *AppHandlers)

Fx Invoke Middleware

func PlaygroundHandler

func PlaygroundHandler() echo.HandlerFunc

Playground Handler

Types

type AppHandlers

type AppHandlers struct {
	Middlewares []echo.MiddlewareFunc
	GQLHandler  echo.HandlerFunc
	Playground  echo.HandlerFunc
}

AppHandlers / Controller

func AppHandlersProvider

func AppHandlersProvider(module generated.Config) *AppHandlers

Fx Provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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