types

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagNameSubnetMask = "subnet_mask"
	TagNameRouter     = "router"
	TagNameTimeServer = "time_server"
	TagNameNameServer = "name_server"
	TagNameDomainName = "domain_name"
	TagNameBootfile   = "bootfile"
	TagNameTFTPserver = "tftp_server"
)
View Source
const (
	KeyRole   = "dhcp"
	KeyLeases = "leases"
	KeyScopes = "scopes"
)
View Source
const (
	EventTopicDHCPCreateLease = "roles.dhcp.lease.create"
)
View Source
const (
	EventTopicDHCPLeasePut = "roles.dhcp.lease.put"
)

Variables

Functions

func OptionValue

func OptionValue(input string) *string

Types

type DHCPOption added in v0.3.3

type DHCPOption struct {
	Tag     *uint8   `json:"tag"`
	TagName string   `json:"tagName"`
	Value   *string  `json:"value"`
	Value64 []string `json:"value64"`
}

type OptionTagName

type OptionTagName string

Jump to

Keyboard shortcuts

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