device

package
v1.23.0-verio.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Type

func Type() string

Types

type Device

type Device struct {
	types.Base `bson:",inline"`

	SubType string `json:"subType,omitempty" bson:"subType,omitempty"`
}

func (*Device) IdentityFields

func (d *Device) IdentityFields() ([]string, error)

func (*Device) Init

func (d *Device) Init()

func (*Device) Meta

func (d *Device) Meta() interface{}

func (*Device) Normalize

func (d *Device) Normalize(normalizer data.Normalizer) error

func (*Device) Parse

func (d *Device) Parse(parser data.ObjectParser) error

func (*Device) Validate

func (d *Device) Validate(validator data.Validator) error

type Meta

type Meta struct {
	Type    string `json:"type,omitempty"`
	SubType string `json:"subType,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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