gopkg.in/hugelgupf/u-root.v2@v2.0.0-20180831055005-3f8fdb0ce09d/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 }