basal

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2018 License: BSD-2-Clause Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDeliveryType added in v1.24.0

func ParseDeliveryType(parser data.ObjectParser) *string

func Type

func Type() string

Types

type Basal

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

	DeliveryType string `json:"deliveryType,omitempty" bson:"deliveryType,omitempty"`
}

func (*Basal) IdentityFields

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

func (*Basal) Init

func (b *Basal) Init()

func (*Basal) Meta

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

func (*Basal) Parse

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

func (*Basal) Validate

func (b *Basal) Validate(validator structure.Validator)

type Meta

type Meta struct {
	Type         string `json:"type,omitempty"`
	DeliveryType string `json:"deliveryType,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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