Documentation ¶
Overview ¶
Package server provides the GraphQL server.
Index ¶
Constants ¶
View Source
const ( // GraphqlEndpoint is the base endpoint for graphql and the endpoint for post requests to the graphql service. GraphqlEndpoint string = "/graphql" // GraphiqlEndpoint is the endpoint for the graphql user interface. GraphiqlEndpoint string = "/graphiql" )
Variables ¶
This section is empty.
Functions ¶
func EnableGraphql ¶
func EnableGraphql(engine *gin.Engine, consumerDB db.ConsumerDB, fetcher fetcher.ScribeFetcher, apiCache cache.Service, clients map[uint32]etherClient.EVM, parsers *types.ServerParsers, refs *types.ServerRefs, swapFilters map[string]*swap.SwapFlashLoanFilterer, config serverConfig.Config, handler metrics.Handler)
EnableGraphql enables the scribe graphql service.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package graph implements the GraphQL schema and resolvers.
|
Package graph implements the GraphQL schema and resolvers. |
model
Package model provides the GraphQL model for the explorer service.
|
Package model provides the GraphQL model for the explorer service. |
resolver
Package resolvers provides the GraphQL resolver for the explorer service.
|
Package resolvers provides the GraphQL resolver for the explorer service. |
Click to show internal directories.
Click to hide internal directories.