Documentation ¶
Index ¶
- func NewUUID() ([]byte, error)
- func Now() time.Time
- type Common
- type Deleter
- type Displayer
- type Encoder
- type Entity
- type External
- func (self *External) Delete() error
- func (self *External) Display()
- func (self *External) Encode(w io.Writer) error
- func (self *External) ExportMetadata() (int64, string)
- func (self *External) Link(entity Entity) error
- func (self *External) Map(entity Entity) error
- func (self *External) Save() error
- func (self *External) Set(key string, value []byte) error
- func (self *External) Unlink() error
- func (self *External) Unmap(entity Entity) error
- func (self *External) Update() error
- type Internal
- func (self *Internal) Delete() error
- func (self *Internal) Display()
- func (self *Internal) Encode(w io.Writer) error
- func (self *Internal) ExportMetadata() (int64, string)
- func (self *Internal) Map(entity Entity) error
- func (self *Internal) Save() error
- func (self *Internal) Set(key string, value []byte) error
- func (self *Internal) Unmap(entity Entity) error
- func (self *Internal) Update() error
- type Mapper
- type Saver
- type Setter
- type Tag
- func (self *Tag) Delete() error
- func (self *Tag) Display()
- func (self *Tag) Encode(w io.Writer) error
- func (self *Tag) ExportMetadata() (int64, string)
- func (self *Tag) Map(entity Entity) error
- func (self *Tag) Save() error
- func (self *Tag) Set(key string, value []byte) error
- func (self *Tag) Unmap(entity Entity) error
- func (self *Tag) Update() error
- type Updater
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Common ¶
type External ¶
type External struct { Common Type string `json:"type"` Name string `json:"name"` Body string `json:"body"` Data []byte `json:"data"` Tags []Entity `json:"tags"` Mapping map[int64]int64 `json:"-"` Meta *Internal `json:"-"` }
func (*External) ExportMetadata ¶
type Internal ¶
type Internal struct { Common Type string `json:"type"` Origin string `json:"origin"` Data []byte `json:"data"` Tags []Entity `json:"tags"` Mapping map[int64]int64 `json:"-"` }
func (*Internal) ExportMetadata ¶
type Tag ¶
func (*Tag) ExportMetadata ¶
Click to show internal directories.
Click to hide internal directories.