Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidEnum = errors.New("invalid enum option")
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Value string
}
File is a flag.Value for file paths. Returns any errors from os.Stat.
func (*File) Set ¶
Set implements flag.Value by checking for the file's existence through using os.Stat. Any error returned by os.Stat is returned by this function.
type TCPAddr ¶
TCPAddr is a flag.Value for file paths. Returns any errors from net.ResolveTCPAddr.
func (*TCPAddr) Set ¶
Set implements flag.Value by parsing the provided address using net.ResolveTCPAddr. Any error return is returned by this function.
Click to show internal directories.
Click to hide internal directories.