normalizer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Standard

type Standard struct {
	// contains filtered or unexported fields
}

func NewStandard

func NewStandard(context data.Context) (*Standard, error)

func (*Standard) AppendDatum

func (s *Standard) AppendDatum(datum data.Datum)

func (*Standard) AppendError

func (s *Standard) AppendError(reference interface{}, err *service.Error)

func (*Standard) Data

func (s *Standard) Data() []data.Datum

func (*Standard) Logger

func (s *Standard) Logger() log.Logger

func (*Standard) NewChildNormalizer

func (s *Standard) NewChildNormalizer(reference interface{}) data.Normalizer

func (*Standard) NormalizeBloodGlucose

func (s *Standard) NormalizeBloodGlucose(units *string) data.BloodGlucoseNormalizer

func (*Standard) SetMeta

func (s *Standard) SetMeta(meta interface{})

type StandardBloodGlucose

type StandardBloodGlucose struct {
	// contains filtered or unexported fields
}

func NewStandardBloodGlucose

func NewStandardBloodGlucose(units *string) *StandardBloodGlucose

func (*StandardBloodGlucose) Units

func (s *StandardBloodGlucose) Units() *string

func (*StandardBloodGlucose) UnitsAndValue

func (s *StandardBloodGlucose) UnitsAndValue(value *float64) (*string, *float64)

func (*StandardBloodGlucose) Value

func (s *StandardBloodGlucose) Value(value *float64) *float64

Jump to

Keyboard shortcuts

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