Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Dir struct { Dirs func(childComplexity int) int Files func(childComplexity int) int Path func(childComplexity int) int } File struct { CreatedAt func(childComplexity int) int DownloadURL func(childComplexity int) int FileType func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int Path func(childComplexity int) int Size func(childComplexity int) int UpdatedAt func(childComplexity int) int User func(childComplexity int) int } Mutation struct { Delete func(childComplexity int, id string) int Move func(childComplexity int, input model.MoveInput) int Upload func(childComplexity int, input model.UploadInput) int } Query struct { File func(childComplexity int, id string) int FileTree func(childComplexity int) int ListUserFiles func(childComplexity int, user int, pathPrefix *string) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.