scheduled

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeliveryType

func DeliveryType() string

func NewDatum

func NewDatum() data.Datum

Types

type Scheduled

type Scheduled struct {
	basal.Basal `bson:",inline"`

	Duration         *int     `json:"duration,omitempty" bson:"duration,omitempty"`
	ExpectedDuration *int     `json:"expectedDuration,omitempty" bson:"expectedDuration,omitempty"`
	Rate             *float64 `json:"rate,omitempty" bson:"rate,omitempty"`
	ScheduleName     *string  `json:"scheduleName,omitempty" bson:"scheduleName,omitempty"`
}

func Init

func Init() *Scheduled

func New

func New() *Scheduled

func (*Scheduled) Init

func (s *Scheduled) Init()

func (*Scheduled) Parse

func (s *Scheduled) Parse(parser data.ObjectParser) error

func (*Scheduled) Validate

func (s *Scheduled) Validate(validator data.Validator) error

Jump to

Keyboard shortcuts

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