nodes

package
v0.0.0-...-fa728ab Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminConfig

type AdminConfig struct {
	Type          string `xml:"type,attr"`
	ResetPassword bool   `xml:"resetPassword,attr"`
	SuperUser     bool   `xml:"isSuper,attr"`
}

type AdminPass

type AdminPass struct {
	Password string `xml:"pass,attr"`
}

func (*AdminPass) MarshalJSON

func (ap *AdminPass) MarshalJSON() ([]byte, error)

func (*AdminPass) UnmarshalJSON

func (ap *AdminPass) UnmarshalJSON(raw []byte) error

type ComputerAccount

type ComputerAccount struct {
	Username string              `xml:"username,attr"`
	Password string              `xml:"password,attr"`
	Type     ComputerAccountType `xml:"type,attr"`
}

type ComputerAccountType

type ComputerAccountType string
const (
	Admin       ComputerAccountType = "ADMIN"
	All         ComputerAccountType = "ALL"
	Mail        ComputerAccountType = "MAIL"
	MissionList ComputerAccountType = "MISSIONLIST"
)

type ComputerIcon

type ComputerIcon string
const (
	Laptop     ComputerIcon = "laptop"
	Chip       ComputerIcon = "chip"
	Kellis     ComputerIcon = "kellis"
	Tablet     ComputerIcon = "tablet"
	EPhone     ComputerIcon = "ePhone"
	EPhone2    ComputerIcon = "ePhone2"
	Psylance   ComputerIcon = "Psylance"
	PacificAir ComputerIcon = "PacificAir"
	Alchemist  ComputerIcon = "Alchemist"
	DLCLaptop  ComputerIcon = "DLCLaptop"
	DLCPC1     ComputerIcon = "DLCPC1"
	DLCPC2     ComputerIcon = "DLCPC2"
	DLCServer  ComputerIcon = "DLCServer"
)

type ComputerType

type ComputerType int
const (
	Corporate ComputerType = iota + 1
	Home
	Server
	Empty
)

func (*ComputerType) UnmarshalXMLAttr

func (ct *ComputerType) UnmarshalXMLAttr(attr xml.Attr) error

type CustomThemeFile

type CustomThemeFile struct {
	*FileHeaders
	ThemePath string `xml:"themePath,attr"`
}

type EncryptedFile

type EncryptedFile struct {
	*FileHeaders
	IP        string  `xml:"ip,attr,omitempty"`
	Extension string  `xml:"extension,attr,omitempty"`
	Header    string  `xml:"header,attr,omitempty"`
	Password  *string `xml:"pass,attr,omitempty"`
	Content   string  `xml:",chardata"`
}

type EosDevice

type EosDevice struct {
	ID           string           `xml:"id,attr" json:"id"`
	Name         string           `xml:"name,attr" json:"name"`
	Icon         ComputerIcon     `xml:"icon,attr" json:"icon"`
	Empty        bool             `xml:"empty,attr" json:"empty"`
	PassOverride string           `xml:"passOverride,attr,omitempty" json:"passOverride"`
	Notes        []EosNote        `xml:"node" json:"notes"`
	MailAccounts []EosMailAccount `xml:"mail" json:"mail"`
	Files        []File           `xml:"file" json:"files"`
}

type EosMailAccount

type EosMailAccount struct {
	Username string `xml:"username,attr"`
	Password string `xml:"pass,attr"`
}

type EosNote

type EosNote struct {
	Content string `xml:",chardata"`
}

type File

type File struct {
	*FileHeaders
	Content string `xml:",chardata"`
}

type FileHeaders

type FileHeaders struct {
	Path string `xml:"path,attr"`
	Name string `xml:"name,attr"`
}

type PortRemap

type PortRemap map[string]int

func (*PortRemap) MarshalXML

func (remap *PortRemap) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (PortRemap) String

func (remap PortRemap) String() string

func (*PortRemap) UnmarshalXML

func (remap *PortRemap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type PortsForCrack

type PortsForCrack struct {
	Value int `xml:"val,attr"`
}

func (*PortsForCrack) MarshalJSON

func (pc *PortsForCrack) MarshalJSON() ([]byte, error)

func (*PortsForCrack) UnmarshalJSON

func (pc *PortsForCrack) UnmarshalJSON(data []byte) error

type PositionNear

type PositionNear struct {
	Target        string  `xml:"target,attr"`
	Position      int     `xml:"position,attr"`
	Total         int     `xml:"total,attr"`
	ExtraDistance float64 `xml:"extraDistance,attr"`
}

type ProxyConfig

type ProxyConfig struct {
	Duration float64 `xml:"time,attr"`
}

type TraceConfig

type TraceConfig struct {
	Time int `xml:"time,attr"`
}

type Tracker

type Tracker bool

func (*Tracker) MarshalXML

func (t *Tracker) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Tracker) UnmarshalXML

func (t *Tracker) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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