Documentation
¶
Index ¶
Constants ¶
View Source
const (
StateDown = 0
StateUp = 1
StateFinish = 2
)
Variables ¶
View Source
var (
ENoRunsv = errors.New("runsv not running")
StateToString = map[int]string{
StateDown: "down",
StateUp: "up",
StateFinish: "finish",
}
)
Functions ¶
func GetService ¶
func GetService(name string, dir string) *service
func GetServices ¶
func GetServices(dir string) ([]*service, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.