dutcfg

package
v0.0.0-...-9474aff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL