wwgraphql

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MB int64 = 1 << 20

Functions

func NewGraphQlServer

func NewGraphQlServer(es graphql.ExecutableSchema) *handler.Server

func ValidateStringDirective

func ValidateStringDirective(ctx context.Context, obj interface{}, next graphql.Resolver, rules ValidateStringRules) (res interface{}, err error)

Types

type ValidateStringRules

type ValidateStringRules struct {
	MaxLength *int `json:"maxLength"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL