Documentation ¶
Index ¶
- Constants
- func ToConfiguredProjects(shortenHomeDir bool) (map[string]*projects.ConfiguredProject, error)
- type PidFile
- func (p *PidFile) Binary() string
- func (p *PidFile) Command() string
- func (p *PidFile) IsRunning() bool
- func (p *PidFile) LogFile() string
- func (p *PidFile) LogReader() (io.ReadCloser, error)
- func (p *PidFile) LogWriter() (io.WriteCloser, error)
- func (p *PidFile) Name() string
- func (p *PidFile) PidFile() string
- func (p *PidFile) Remove() error
- func (p *PidFile) ShortName() string
- func (p *PidFile) Signal(sig os.Signal) error
- func (p *PidFile) Stop() error
- func (p *PidFile) String() string
- func (p *PidFile) WaitForExit() error
- func (p *PidFile) WaitForLogs() error
- func (p *PidFile) WaitForPid() <-chan error
- func (p *PidFile) WorkerLogDir() string
- func (p *PidFile) WorkerPidDir() string
- func (p *PidFile) Write(pid, port int, scheme string) error
Constants ¶
View Source
const WebServerName = "Web Server"
Variables ¶
This section is empty.
Functions ¶
func ToConfiguredProjects ¶
func ToConfiguredProjects(shortenHomeDir bool) (map[string]*projects.ConfiguredProject, error)
Types ¶
type PidFile ¶
type PidFile struct { Dir string `json:"dir"` Watched []string `json:"watch"` Pid int `json:"pid"` Port int `json:"port"` Scheme string `json:"scheme"` Args []string `json:"args"` CustomName string `json:"name"` // contains filtered or unexported fields }
func AllWorkers ¶
func (*PidFile) WaitForExit ¶
func (*PidFile) WaitForLogs ¶
func (*PidFile) WaitForPid ¶
func (*PidFile) WorkerLogDir ¶
func (*PidFile) WorkerPidDir ¶
Click to show internal directories.
Click to hide internal directories.