github.com/mem/u-root@v2.0.1-0.20181004165302-9b18b4636a33+incompatible/pkg/wifi/types.go (about) 1 // Copyright 2018 the u-root Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package wifi 6 7 type Option struct { 8 Essid string 9 AuthSuite SecProto 10 } 11 12 type WiFi interface { 13 Scan() ([]Option, error) 14 GetID() (string, error) 15 Connect(a ...string) error 16 }