package
Version:
v0.0.17
Opens a new window with list of versions in this module.
Published: May 6, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Category struct {
Category string `yaml:"category"`
Routes []Route `yaml:"routes"`
Vars []Var `yaml:"vars"`
}
type File struct {
ID string `json:"id"`
Filename string `json:"filename"`
Label string `json:"label"`
Dir string `json:"dir"`
Type string `json:"type"`
Mime string `json:"mime"`
Url string `json:"url"`
IsPublic bool `json:"is_public"`
IsListed bool `json:"is_listed"`
Metadata map[string]string `json:"metadata"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type Metadata struct {
Name string `yaml:"name"`
Secret *string `yaml:"secret"`
}
type Route struct {
Path string `yaml:"path"`
Category string `yaml:"-"`
InlineCss bool `yaml:"inlineCss"`
TemplatePath string `yaml:"templatePath"`
QueryPath *string `yaml:"queryPath"`
Vars map[string]interface{}
ResolvedQuery *string
}
type Signature struct {
ExpiresAt time.Time `json:"expires_at"`
Signature string `json:"signature"`
}
type TemplateDefinition struct {
ApiVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata Metadata `yaml:"metadata"`
Config []Category `yaml:"config"`
}
type Tenant struct {
ID string `json:"id"`
Name string `json:"name"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
TenantID string `json:"tenant_id"`
TenantName string `json:"tenant_name"`
}
type Var struct {
Name string `yaml:"name"`
Value interface{} `yaml:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.