Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventEncoder encoder = EncoderJSON{}
global encoder used for events
View Source
var GlobalRegister = newRegister()
GlobalRegister keeps track of registered aggregates and events
View Source
var SnapshotEncoder encoder = EncoderJSON{}
global encoder used for snapshots
Functions ¶
Types ¶
type EncoderJSON ¶
type EncoderJSON struct{}
func (EncoderJSON) Deserialize ¶
func (e EncoderJSON) Deserialize(data []byte, v interface{}) error
func (EncoderJSON) Serialize ¶
func (e EncoderJSON) Serialize(v interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.