Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataReturn ¶
type DataReturn interface{}
type Definition ¶
type Definition *ast.Definition
type Directive ¶
type Directive interface {
Invoke(args map[string]interface{}, typeName string, fieldName string) (DataReturn, definitionError.GQLError)
}
type DirectiveList ¶
type DirectiveList map[string]interface{}
type ObjectTypeInterface ¶
type ObjectTypeInterface interface { Resolver(ResolverInfo) (DataReturn, definitionError.GQLError) Subscribe(ResolverInfo) bool }
type ResolverInfo ¶
type RestInfo ¶
type RestInfo struct { Path string PathSplit []string GET map[string][]string POST map[string][]string Request *http.Request Writer http.ResponseWriter // contains filtered or unexported fields }
func (*RestInfo) GetHeaders ¶
func (*RestInfo) SetHTTPRequest ¶
type Scalar ¶
type Scalar interface { Assess(resolved ScalarResolved) (r interface{}, err definitionError.GQLError) Set(value interface{}) (r interface{}, err definitionError.GQLError) }
type ScalarResolved ¶
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.