Versions in this module Expand all Collapse all v1 v1.0.2 Jun 18, 2020 v1.0.1 Jun 18, 2020 Changes in this version + const DefaultConsistencyLevel + const DefaultPageSize + const DefaultSerialConsistencyLevel + func GetPlaygroundHandle(defaultEndpointUrl string) httprouter.Handle + type Config struct + type KeyspaceGraphQLSchema struct + func (s *KeyspaceGraphQLSchema) BuildTypes(keyspace *gocql.KeyspaceMetadata) error + type RequestBody struct + Query string + type Route struct + Handler http.Handler + Method string + Pattern string + type RouteGenerator struct + func NewRouteGenerator(dbClient *db.Db, cfg config.Config) *RouteGenerator + func (rg *RouteGenerator) Keyspaces() ([]string, error) + func (rg *RouteGenerator) Routes(pattern string, singleKeyspace string) ([]Route, error) + func (rg *RouteGenerator) RoutesSchemaManagement(pattern string, singleKeyspace string, ops config.SchemaOperations) ([]Route, error) + type SchemaGenerator struct + func NewSchemaGenerator(dbClient *db.Db, cfg config.Config) *SchemaGenerator + func (sg *SchemaGenerator) BuildKeyspaceSchema(singleKeyspace string, ops config.SchemaOperations) (graphql.Schema, error) + func (sg *SchemaGenerator) BuildSchemas(singleKeyspace string) (map[string]*graphql.Schema, error) + type SchemaUpdater struct + func NewUpdater(schemaGen *SchemaGenerator, singleKeyspace string, ...) (*SchemaUpdater, error) + func (su *SchemaUpdater) Schema(keyspace string) *graphql.Schema + func (su *SchemaUpdater) Start() + func (su *SchemaUpdater) Stop()