Help us shape the future of Go! Take the 2026 Go Developer Survey

grapher

package module
v0.0.0-...-762d926 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(schema *graphql.Schema, opts ...HandlerOpt) *Handler

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type HandlerOpt

type HandlerOpt func(*Handler)

func WithContext

func WithContext(fn ctxFn) HandlerOpt

func WithExplorer

func WithExplorer(explorer http.Handler) HandlerOpt

type IntID

type IntID int

func (IntID) ImplementsGraphQLType

func (IntID) ImplementsGraphQLType(name string) bool

func (IntID) MarshalJSON

func (id IntID) MarshalJSON() ([]byte, error)

func (*IntID) UnmarshalGraphQL

func (id *IntID) UnmarshalGraphQL(input any) error

type NullIntID

type NullIntID struct {
	Value *IntID
	Set   bool
}

func (NullIntID) ImplementsGraphQLType

func (NullIntID) ImplementsGraphQLType(name string) bool

func (*NullIntID) Nullable

func (s *NullIntID) Nullable()

func (*NullIntID) UnmarshalGraphQL

func (s *NullIntID) UnmarshalGraphQL(input any) error

Directories

Path Synopsis
explorer
graphiql module

Jump to

Keyboard shortcuts

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