Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event interface { Queue() string Value() []byte DelaySeconds() int64 Unmarshal(value []byte) Event }
Event 消息事件
type ExampleEvent ¶
func (*ExampleEvent) DelaySeconds ¶
func (e *ExampleEvent) DelaySeconds() int64
func (*ExampleEvent) Queue ¶
func (e *ExampleEvent) Queue() string
func (*ExampleEvent) Unmarshal ¶
func (e *ExampleEvent) Unmarshal(value []byte) Event
func (*ExampleEvent) Value ¶
func (e *ExampleEvent) Value() []byte
Click to show internal directories.
Click to hide internal directories.