> For the complete documentation index, see [llms.txt](https://equations.gitbook.io/go-ddns/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://equations.gitbook.io/go-ddns/netinterface.md).

# Device/Net Interface

## Description

Read device(net interface) setting from config

```go
// Device contains a slice of device
// implements Parameters and Config interface
type Device struct {
	Devices []string `KeyValue:"device"`
}
```

## Config

```ini
[Device]
device=eth0 or device=eth0,eth1 or device=[eth0,eth1] or device=[eth0 eth1] # space and comma are both ok
```
