Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Server Server `yaml:"server"`
}
Config represent the root node of the structures
type Handler ¶
type Handler struct { Path string `yaml:"path"` Type string `yaml:"type"` Config map[string]string `yaml:"config"` }
Handler TODO
type Middleware ¶
Middleware TODO
type Router ¶
type Router struct { Prefix string `yaml:"prefix"` Middlewares []Middleware `yaml:"middlewares"` Handlers []Handler `yaml:"handlers"` }
Router TODO
Click to show internal directories.
Click to hide internal directories.