Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoDB mongoDB
MongoDB client for mongo database
View Source
var (
// RedisDB client for redis
RedisDB redisClient
)
Functions ¶
func GetAllServices ¶
GetAllServices returns all services names
Types ¶
type SchemaRegistry ¶
SchemaRegistry to add a schema to the registry
func GetServiceSchema ¶
func GetServiceSchema(service string) (*SchemaRegistry, error)
GetServiceSchema get service schema from redis
func (*SchemaRegistry) ValidateSchema ¶
func (s *SchemaRegistry) ValidateSchema() error
ValidateSchema validates the graphql schema
Click to show internal directories.
Click to hide internal directories.