Documentation ¶
Index ¶
- Variables
- func Marshal(event *Event) ([]byte, error)
- func Unmarshal(data []byte, event *Event) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetEventName() string
- func (x *Event) GetMeta() *structpb.Struct
- func (x *Event) GetPayload() *structpb.Struct
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (event *Event) SetPayload(mapData map[string]interface{}) error
- func (x *Event) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_types_event_event_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Event ¶
type Event struct { EventName string `protobuf:"bytes,1,opt,name=eventName,proto3" json:"eventName,omitempty"` Meta *structpb.Struct `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` Payload *structpb.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetEventName ¶ added in v0.0.40
func (*Event) GetPayload ¶ added in v0.0.40
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.0.40
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) SetPayload ¶ added in v0.0.40
Click to show internal directories.
Click to hide internal directories.