Documentation
¶
Overview ¶
Package runner …
Index ¶
Constants ¶
View Source
const (
//PlatformWindows const for windows
PlatformWindows = "windows"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Root string `toml:"root"`
TmpDir string `toml:"tmp_dir"`
TestDataDir string `toml:"testdata_dir"`
Build cfgBuild `toml:"build"`
Color cfgColor `toml:"color"`
Log cfgLog `toml:"log"`
Misc cfgMisc `toml:"misc"`
Screen cfgScreen `toml:"screen"`
Proxy cfgProxy `toml:"proxy"`
}
Config is the main configuration structure for Air.
func InitConfig ¶
InitConfig initializes the configuration.
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine ...
func NewEngineWithConfig ¶
NewEngineWithConfig ...
type ProxyStream ¶
type ProxyStream struct {
// contains filtered or unexported fields
}
func NewProxyStream ¶
func NewProxyStream() *ProxyStream
func (*ProxyStream) AddSubscriber ¶
func (stream *ProxyStream) AddSubscriber() *Subscriber
func (*ProxyStream) Reload ¶
func (stream *ProxyStream) Reload()
func (*ProxyStream) RemoveSubscriber ¶
func (stream *ProxyStream) RemoveSubscriber(id int32)
func (*ProxyStream) Stop ¶
func (stream *ProxyStream) Stop()
type Reloader ¶
type Reloader interface {
AddSubscriber() *Subscriber
RemoveSubscriber(id int32)
Reload()
Stop()
}
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.