package
Version:
v0.10.2
Opens a new window with list of versions in this module.
Published: Feb 23, 2022
License: MIT
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 App struct {
ServerName string `toml:"server_name"`
Port string `toml:"port"`
}
type Origin struct {
URI string `toml:"uri"`
FilePath string `toml:"file_path"`
Method string `toml:"method"`
Content []byte
}
type Routing struct {
RootPath string `toml:"root_path"`
OriginRoot string `toml:"origin_root"`
Origins []Origin `toml:"origins"`
}
type TomlSetting struct {
App `toml:"app"`
Routing `toml:"routing"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.