bolus

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: BSD-3-Clause Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Type

func Type() string

Types

type Bolus

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

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

func (*Bolus) IdentityFields

func (b *Bolus) IdentityFields() ([]string, error)

func (*Bolus) Init

func (b *Bolus) Init()

func (*Bolus) Meta

func (b *Bolus) Meta() interface{}

func (*Bolus) Normalize

func (b *Bolus) Normalize(normalizer data.Normalizer) error

func (*Bolus) Parse

func (b *Bolus) Parse(parser data.ObjectParser) error

func (*Bolus) Validate

func (b *Bolus) 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