Documentation ¶
Index ¶
- Constants
- Variables
- func Add(services ...string)
- func Args(ss *[]string) []string
- func AsciiTable(slice interface{}) string
- func Disable(services ...string)
- func Enable(services ...string)
- func Output(slice interface{})
- func OutputA(slice interface{})
- func Remove(force bool, services ...string)
- func Start(services ...string)
- func Status(services ...string)
- func Stop(services ...string)
- func StringLength(r []rune) int
- func Table(slice interface{}) string
Constants ¶
View Source
const (
WorkDir = "/root/.skrctl"
)
Variables ¶
View Source
var C = newConf()
Functions ¶
func AsciiTable ¶
func AsciiTable(slice interface{}) string
AsciiTable formats slice of structs data and returns the resulting string.(Using standard ascii characters)
func Output ¶
func Output(slice interface{})
Output formats slice of structs data and writes to standard output.(Using box drawing characters)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.