Documentation ¶
Overview ¶
Package dutcfg provides utilities for controlling the DUT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnConfig ¶
type ConnConfig struct { Ssid string Hidden bool SecConf security.Config Props map[string]interface{} }
ConnConfig contains the connection variables.
type ConnOption ¶
type ConnOption func(*ConnConfig)
ConnOption is the function signature used to modify ConnectWifi.
func ConnHidden ¶
func ConnHidden(h bool) ConnOption
ConnHidden returns a ConnOption which sets the hidden property.
func ConnProperties ¶
func ConnProperties(p map[string]interface{}) ConnOption
ConnProperties returns a ConnOption which sets the service properties.
func ConnSecurity ¶
func ConnSecurity(s security.Config) ConnOption
ConnSecurity returns a ConnOption which sets the security configuration.
Click to show internal directories.
Click to hide internal directories.