Documentation ¶
Index ¶
- Constants
- Variables
- func NewUnstructuredDataEvent() event.Event
- func UnstructuredDataEventAvroCoder(elm element.Element) ([]byte, error)
- func UnstructuredDataEventAvroDecoder(raw []byte, elm element.Element) (element.Element, error)
- type UnstructuredDataEvent
- func (e *UnstructuredDataEvent) Code() (event.UnstructuredData, error)
- func (e *UnstructuredDataEvent) Data() any
- func (e *UnstructuredDataEvent) Decode(d event.UnstructuredData) error
- func (e *UnstructuredDataEvent) Key() common.Key
- func (e *UnstructuredDataEvent) Local() event.Local
- func (e *UnstructuredDataEvent) Meta() event.Meta
- func (e *UnstructuredDataEvent) String() string
- func (e *UnstructuredDataEvent) Timestamp() time.Time
- func (e *UnstructuredDataEvent) Type() element.Type
Constants ¶
View Source
const (
UnstructuredDataEventAvroSchemaSpecification = `` /* 1158-byte string literal not displayed */
)
Variables ¶
View Source
var (
UnstructuredDataEventAvroSchema avro.Schema
)
Functions ¶
Types ¶
type UnstructuredDataEvent ¶
type UnstructuredDataEvent struct { M event.Meta `json:"meta" avro:"meta"` D event.UnstructuredData `json:"data" avro:"data"` L event.Local `json:"local"` }
func (*UnstructuredDataEvent) Code ¶
func (e *UnstructuredDataEvent) Code() (event.UnstructuredData, error)
func (*UnstructuredDataEvent) Data ¶
func (e *UnstructuredDataEvent) Data() any
func (*UnstructuredDataEvent) Decode ¶
func (e *UnstructuredDataEvent) Decode(d event.UnstructuredData) error
func (*UnstructuredDataEvent) Key ¶
func (e *UnstructuredDataEvent) Key() common.Key
func (*UnstructuredDataEvent) Local ¶
func (e *UnstructuredDataEvent) Local() event.Local
func (*UnstructuredDataEvent) Meta ¶
func (e *UnstructuredDataEvent) Meta() event.Meta
func (*UnstructuredDataEvent) String ¶
func (e *UnstructuredDataEvent) String() string
func (*UnstructuredDataEvent) Timestamp ¶
func (e *UnstructuredDataEvent) Timestamp() time.Time
func (*UnstructuredDataEvent) Type ¶
func (e *UnstructuredDataEvent) Type() element.Type
Click to show internal directories.
Click to hide internal directories.