Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Change ¶
type Change struct { From *string `json:"from,omitempty" bson:"from,omitempty"` To *string `json:"to,omitempty" bson:"to,omitempty"` Agent *string `json:"agent,omitempty" bson:"agent,omitempty"` }
func ParseChange ¶
func ParseChange(parser data.ObjectParser) *Change
func (*Change) Normalize ¶
func (c *Change) Normalize(normalizer data.Normalizer)
func (*Change) Parse ¶
func (c *Change) Parse(parser data.ObjectParser)
type TimeChange ¶
type TimeChange struct { device.Device `bson:",inline"` Change *Change `json:"change,omitempty" bson:"change,omitempty"` }
func Init ¶
func Init() *TimeChange
func New ¶
func New() *TimeChange
func (*TimeChange) Init ¶
func (t *TimeChange) Init()
func (*TimeChange) Parse ¶
func (t *TimeChange) Parse(parser data.ObjectParser) error
Click to show internal directories.
Click to hide internal directories.