Documentation
¶
Overview ¶
Package composter is a graphql http server, and is responsible for defining the overall graphql schema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserStatusEnumType *graphql.Enum TeamSubscriptionEnumType *graphql.Enum AggregationEnumType *graphql.Enum InstanceType *graphql.Object DbInstanceType *graphql.Object EcsServiceType *graphql.Object CheckType *graphql.Object CheckInputType *graphql.InputObject TeamInputType *graphql.InputObject UserInputType *graphql.InputObject UserFlagsInputType *graphql.InputObject NotificationInputType *graphql.InputObject AggregationInputType *graphql.InputObject )
View Source
var JsonScalar *graphql.Scalar = graphql.NewScalar(graphql.ScalarConfig{ Name: "JsonRawMessage", Serialize: coerceJson, ParseValue: coerceJson, ParseLiteral: func(valueAST ast.Value) interface{} { switch valueAST := valueAST.(type) { case *ast.StringValue: return valueAST.Value } return nil }, })
Functions ¶
func GraphQLStructObject ¶
Types ¶
type Composter ¶
type Composter struct { Schema graphql.Schema AdminSchema graphql.Schema // contains filtered or unexported fields }
type GraphQLRequest ¶
type GraphQLRequest struct { Query string `json:"query"` Variables map[string]interface{} `json:"variables,omitempty"` }
func (*GraphQLRequest) Validate ¶
func (req *GraphQLRequest) Validate() error
type PermissionOp ¶
type PermissionOp struct {
// contains filtered or unexported fields
}
type QueryContext ¶
Click to show internal directories.
Click to hide internal directories.