Documentation ¶
Index ¶
- func Handle(ctx context.Context, schema Schema, playground http.Handler, ...)
- func Handler(schema Schema, playground http.Handler) http.Handler
- func MustType(o reflect.Type) graphql.Output
- func RegisterEnum(o reflect.Type, name string, fields ...interface{})
- func RegisterType(o reflect.Type, v Output)
- type Error
- type ErrorLocation
- type Extension
- type GraphiQL
- type ID
- type Meta
- type Number
- type Output
- type PageInfo
- type Params
- type PersistedQuery
- type Result
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEnum ¶
func RegisterType ¶
Types ¶
type Error ¶
type Error struct { Message string `json:"message"` Locations []ErrorLocation `json:"locations,omitempty"` Path []interface{} `json:"path,omitempty"` Extensions map[string]interface{} `json:"extensions,omitempty"` Err error `json:"-"` }
type ErrorLocation ¶
type PersistedQuery ¶
Click to show internal directories.
Click to hide internal directories.