Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolver ¶
func NewResolver(opts ...OptionResolver) *cmdResolver
Types ¶
type CmdSeacher ¶
type CmdSeacher interface { SetCommand(cmd string) // contains filtered or unexported methods }
type OptionResolver ¶
type OptionResolver func(*cmdResolver)
func WithAddress ¶
func WithAddress(address []string) OptionResolver
func WithCliResolver ¶
func WithCliResolver(cli CmdSeacher) OptionResolver
func WithInterface ¶
func WithInterface(iface string) OptionResolver
Click to show internal directories.
Click to hide internal directories.