mirror of
https://github.com/luscis/openlan.git
synced 2025-12-24 11:10:54 +08:00
10 lines
412 B
Go
Executable File
10 lines
412 B
Go
Executable File
package config
|
|
|
|
type Dhcp struct {
|
|
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
|
Interface string `json:"interface,omitempty" yaml:"interface,omitempty"`
|
|
Subnet *Subnet `json:"subnet,omitempty" yaml:"subnet,omitempty"`
|
|
Hosts []HostLease `json:"hosts,omitempty" yaml:"hosts,omitempty"`
|
|
Routes []PrefixRoute `json:"routes,omitempty" yaml:"routes,omitempty"`
|
|
}
|