Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { // Build creates the temporal executable Build() error // Binary returns the reference to the runtime binary Binary() string // Errors returns any errors from the executable Errors() string }
Builder provides a binary builder
type Config ¶
type Config struct { Laddr string `json:"laddr"` Port int `json:"port"` ProxyTo string `json:"proxy_to"` KeyFile string `json:"key_file"` CertFile string `json:"cert_file"` }
func LoadConfig ¶
type Proxy ¶
type Proxy interface { // Run bootstraps the web service proxy Run(config *Config) error io.Closer }
Proxy provides a web server proxy
type Runner ¶
type Runner interface { // Run executes the temporal binary Run() (*exec.Cmd, error) // Info provides file metadata about the runtime executable Info() (os.FileInfo, error) // SetWriter provides an output sink for the runtime SetWriter(io.Writer) // Kill terminates the executable Kill() error }
Runner provides the executable runtime
Click to show internal directories.
Click to hide internal directories.