Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryReader ¶
MemoryReader for memory reading
func NewMemoryReader ¶
func NewMemoryReader(data []model.Event) *MemoryReader
NewMemoryReader creates a new memory reader
type MemoryWriter ¶
MemoryWriter Writer for memory
func NewMemoryWriter ¶
func NewMemoryWriter(data []model.Event) *MemoryWriter
NewMemoryWriter creates a new memory writer
type TestData ¶
type TestData struct { Version int `json:"version"` Name string `json:"name"` Balance float32 `json:"balance"` BirthDate time.Time `json:"birth_date"` }
TestData for testing purposes
type TestSerializer ¶
type TestSerializer struct {
Failure bool
}
TestSerializer mock
func (TestSerializer) Serialize ¶
func (s TestSerializer) Serialize(value interface{}) (ret interface{}, err error)
Serialize mock
Click to show internal directories.
Click to hide internal directories.