Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message event emitter struct
func (*Message) GetMessage ¶
GetMessage returns a message from the channel
type MessageGetPublish ¶
type MessageGetPublish interface {
MessagePublisher
GetMessage() (string, error)
}
MessageGetPublish is an interface that defines the method to publish a message and get a message
type MessageGetPublishCloser ¶
type MessageGetPublishCloser interface {
MessagePublisher
MessageGetPublish
Close()
}
MessageGetPublishCloser is an interface that defines the method to publish a message, get a message and close the emitter
type MessagePublisher ¶
type MessagePublisher interface {
Publish(msg string)
}
MessagePublisher is an interface that defines the method to publish a message
Click to show internal directories.
Click to hide internal directories.