Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GraphqlHttpHandler = func() *handler.Handler { return handler.New(&handler.Config{ Schema: GraphqlSchema(), Pretty: true, GraphiQL: true, }) }
Http Handler
View Source
var GraphqlSchema = func() *graphql.Schema { newSchema, err := graphql.NewSchema(graphql.SchemaConfig{ Query: queryType(), Subscription: nil, Types: nil, Directives: nil, Extensions: nil, }) if err != nil { log.Fatal(err) } log.Printf("GraphqlSchema Load Success") return &newSchema }
Graphql Schema
Functions ¶
This section is empty.
Types ¶
type Member ¶
type MemberArgs ¶
type MemberArgs2 ¶
type Order ¶
type Order struct {
OrderId string
}
func (*Order) Resolve ¶ added in v0.1.9
func (*Order) Resolve() graphql.FieldResolveFn
Click to show internal directories.
Click to hide internal directories.