media_type

package
v0.0.0-...-7475c9a Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SnmpHost = ResultType("application/vnd.goasnmp.host", func() {
	TypeName("Host")
	Description("Host to be queried")
	CreateFrom(InterfaceHost{})
	Attributes(func() {
		Attribute("public", Boolean, "Whether or not to walk public tree")
		Attribute("on_demand", Boolean, "Whether or not Ondemand polling is supported")
	})
})

SnmpHost is a host to be walked

Functions

This section is empty.

Types

type InterfaceHost

type InterfaceHost struct {
	Name     string `json:"name"`     // name or ip of device
	Public   bool   `json:"public"`   // walk the public tree
	OnDemand bool   `json:"onDemand"` //supports ondemand vs cached data
	Href     string `json:"href"`
}

Jump to

Keyboard shortcuts

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