Documentation ¶
Overview ¶
Package runner …
Index ¶
Constants ¶
View Source
const (
//PlatformWindows const for windows
PlatformWindows = "windows"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v1.40.0
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 ¶ added in v1.40.0
InitConfig initializes the configuration.
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine ...
func NewEngineWithConfig ¶ added in v1.40.0
NewEngineWithConfig ...
type ProxyStream ¶ added in v1.52.0
type ProxyStream struct {
// contains filtered or unexported fields
}
func NewProxyStream ¶ added in v1.52.0
func NewProxyStream() *ProxyStream
func (*ProxyStream) AddSubscriber ¶ added in v1.52.0
func (stream *ProxyStream) AddSubscriber() *Subscriber
func (*ProxyStream) Reload ¶ added in v1.52.0
func (stream *ProxyStream) Reload()
func (*ProxyStream) RemoveSubscriber ¶ added in v1.52.0
func (stream *ProxyStream) RemoveSubscriber(id int32)
func (*ProxyStream) Stop ¶ added in v1.52.0
func (stream *ProxyStream) Stop()
type Reloader ¶ added in v1.52.0
type Reloader interface { AddSubscriber() *Subscriber RemoveSubscriber(id int32) Reload() Stop() }
type Subscriber ¶ added in v1.52.0
type Subscriber struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.