server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLoggerToCtxMiddleware added in v0.6.0

func AddLoggerToCtxMiddleware(next http.Handler) http.Handler

Adds the logger to the http request context

func LogRequestsMiddleware added in v0.6.0

func LogRequestsMiddleware(next http.Handler) http.Handler

Logs data for a request and its response. The request context should already contain the logger.

Types

type DefaultServer

type DefaultServer struct {
	// contains filtered or unexported fields
}

DefaultServer implements the API, backed by the GraphQL Server

func NewDefaultServer

func NewDefaultServer(gqlClient graphql.Client) *DefaultServer

func (*DefaultServer) HealthCheck

func (*DefaultServer) RetrieveDependencies

******** The endpoint handler ********

Jump to

Keyboard shortcuts

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