mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-23 00:46:08 +01:00
7e4d9bd150
Signed-off-by: neiledgar <neil.edgar@btinternet.com>
34 lines
741 B
Go
34 lines
741 B
Go
//+build !linux
|
|
|
|
package wifi
|
|
|
|
var _ osClient = &client{}
|
|
|
|
// A conn is the no-op implementation of a netlink sockets connection.
|
|
type client struct{}
|
|
|
|
// newClient always returns an error.
|
|
func newClient() (*client, error) {
|
|
return nil, errUnimplemented
|
|
}
|
|
|
|
// Close always returns an error.
|
|
func (c *client) Close() error {
|
|
return errUnimplemented
|
|
}
|
|
|
|
// Interfaces always returns an error.
|
|
func (c *client) Interfaces() ([]*Interface, error) {
|
|
return nil, errUnimplemented
|
|
}
|
|
|
|
// BSS always returns an error.
|
|
func (c *client) BSS(ifi *Interface) (*BSS, error) {
|
|
return nil, errUnimplemented
|
|
}
|
|
|
|
// StationInfo always returns an error.
|
|
func (c *client) StationInfo(ifi *Interface) ([]*StationInfo, error) {
|
|
return nil, errUnimplemented
|
|
}
|