device

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Type

func Type() string

Types

type Device

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

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

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