Documentation
¶
Index ¶
- Variables
- func Abs(path string) (string, error)
- func EmptyDir(path, name string) (string, error)
- func IsEmptyDir(path string) (bool, error)
- func MustPort(c *cli.Context) int
- func MustPortOrRandom(c *cli.Context, preference int) int
- func MustRandomPort(c *cli.Context, preference int) int
- func Port(c *cli.Context) int
- func PortOrRandom(c *cli.Context, preference int) (int, error)
- func RandomPort(c *cli.Context, preference int) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PortFlag = &cli.IntFlag{
Name: "port",
Usage: "port",
}
Functions ¶
func IsEmptyDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.