xmlParser

package
v0.0.0-...-7b93b34 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortRecord

type PortRecord struct {
	XMLName     xml.Name `xml:"record"`
	Service     string   `xml:"name"`
	Protocol    string   `xml:"protocol"`
	Description string   `xml:"description"`
	Number      string   `xml:"number"`
}

type PortRegistry

type PortRegistry struct {
	XMLName xml.Name     `xml:"registry"`
	Records []PortRecord `xml:"record"`
}

func NewPortRegistry

func NewPortRegistry(dataFolder string) (*PortRegistry, error)

Jump to

Keyboard shortcuts

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