Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseBackend ¶
type Cache ¶
type Config ¶
type Config struct {
BaseURL string `yaml:"baseURL"`
Host string
Port string
HealthPath string `yaml:"healthcheckPath"`
Backend string `yaml:"backend"`
Endpoints []Endpoint `yaml:"endpoints"`
}
func (*Config) GenServerURI ¶
type Endpoint ¶
type Endpoint struct {
Path string `yaml:"path"`
Method string `yaml:"method"`
Cache Cache `yaml:"cache"`
Async bool `yaml:"async"`
Form bool `yaml:"form"`
TemplateURL string `yaml:"template_url"`
Response string `yaml:"response"`
Params []Param `yaml:"params"`
SecretName string `yaml:"secretName"`
Env []string `yaml:"env"`
Containers []Container `yaml:"containers"`
}
func (*Endpoint) BuildCommand ¶
BuildCommand build command with params
Click to show internal directories.
Click to hide internal directories.