basal

package
v1.29.0-mobile.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Type = "basal"
)

Variables

This section is empty.

Functions

func ParseDeliveryType added in v1.24.0

func ParseDeliveryType(parser data.ObjectParser) *string

Types

type Basal

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

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

func New added in v1.26.0

func New(deliveryType string) Basal

func (*Basal) IdentityFields

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

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