package
Version:
v0.0.0-...-e550801
Opens a new window with list of versions in this module.
Published: Apr 8, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Color struct {
R, G, B, A float64
}
type Config struct {
ListenPort int `env:"TSRV_LISTENPORT"`
TestFlag bool `env:"TSRV_TESTFLAG"`
FileMap string `env:"TSRV_FILEMAP"`
Styles map[string]map[string]Style
}
type Env struct {
Config *Config
}
type JSONStyle struct {
Color string `json:"color"`
Width int `json:"width"`
Dash float64 `json:"dash"`
Opacity float64 `json:"opacity"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.