Documentation ¶
Overview ¶
Package schema provides schema support for the database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoSchemaExists = errors.New("no schema exists") ErrInvalidSchema = errors.New("schema doesn't match") )
Schema error variables.
View Source
var AdminJWT = `` /* 566-byte string literal not displayed */
AdminJWT represents a default ADMIN token to support the training code. It's based on the private/public key provided and was generated by using the Travel-Auth tooling. The Auth tooling needs this to manage users.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CustomFunctions
}
Config contains information required for the schema document.
type CustomFunctions ¶
type CustomFunctions struct {
UploadFeedURL string
}
CustomFunctions is the set of custom functions defined in the schema. The URL to the function is required as part of the function declaration.
type Schema ¶
type Schema struct {
// contains filtered or unexported fields
}
Schema provides support for schema operations against the database.
Click to show internal directories.
Click to hide internal directories.