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 { Ancon721Metadata struct { Description func(childComplexity int) int Image func(childComplexity int) int Name func(childComplexity int) int Owner func(childComplexity int) int Parent func(childComplexity int) int Sources func(childComplexity int) int } DagContractTrusted struct { Data func(childComplexity int) int Payload func(childComplexity int) int } DagLink struct { Cid func(childComplexity int) int Path func(childComplexity int) int } Query struct { Metadata func(childComplexity int, cid string, path string) int } Transaction struct { Metadata func(childComplexity int, tx model.MetadataTransactionInput) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Query() QueryResolver Transaction() TransactionResolver }
type TransactionResolver ¶
Click to show internal directories.
Click to hide internal directories.