descriptor

package
v0.0.0-...-5976db4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias string

type Boolean

type Boolean bool

type Class

type Class struct {
	Name string
	ID   string
}

type Descriptor

type Descriptor struct {
	Name  string
	Class string
	Items map[string]*Item
}

func Parse

func Parse(reader *util.Reader) (*Descriptor, error)

type Double

type Double float64

func (Double) Number

func (d Double) Number() float64

type Enumerated

type Enumerated struct {
	Type  string
	Value string
}

type Integer

type Integer int

func (Integer) Integer

func (i Integer) Integer() int

type Item

type Item struct {
	Key   string
	Type  string
	Value interface{}
}

type LargeInteger

type LargeInteger int64

type Offset

type Offset struct {
	Name  string
	ID    string
	Value int32
}

type Property

type Property struct {
	Name string
	ID   string
	Key  string
}

type Reference

type Reference struct{}

type ReferenceEnum

type ReferenceEnum struct {
	Name string
	ID   string
	Type string
	Enum string
}

type Text

type Text string

func (Text) String

func (t Text) String() string

type UnitFloat

type UnitFloat struct {
	Type  string
	Value float64
}

Jump to

Keyboard shortcuts

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