Documentation ¶
Index ¶
Constants ¶
View Source
const ( TAG = `gimgraphql` TAG_NULLABLE = `nullable` )
Variables ¶
View Source
var GraphqlModule = gim.Module{
Name: "GraphqlModule",
Providers: []interface{}{newGraphqlService},
Exports: []interface{}{newGraphqlService},
}
Functions ¶
Types ¶
type GraphqlService ¶
type GraphqlService struct {
// contains filtered or unexported fields
}
func (*GraphqlService) AddMutation ¶
func (svc *GraphqlService) AddMutation(name string, mutation *graphql.Field)
func (*GraphqlService) AddQuery ¶
func (svc *GraphqlService) AddQuery(name string, query *graphql.Field)
func (*GraphqlService) BuildSchema ¶
func (svc *GraphqlService) BuildSchema() *graphql.Schema
Click to show internal directories.
Click to hide internal directories.