dhcp

package
v0.0.0-...-8938f7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lease

type Lease struct {
	Name       string `json:"name"`
	IpAddress  string `json:"ip_address"`
	MacAddress string `json:"mac_address"`
	ExpiresAt  int64  `json:"expires_at"`
}

type Provider

type Provider interface {
	Leases() ([]Lease, error)
}

func NewProvider

func NewProvider(config *config.DhcpConfig, parent logging.Logger) (Provider, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL