Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultPingInterval = 30 * time.Second DefaultPingTimeout = 10 * time.Second )
Default ping settings used by AttachWebSocket when WithPing is not provided. Setting WithPing(0, ...) disables server-side pings.
View Source
const DefaultTopic = "/messages"
DefaultTopic is the topic messagebus uses when WithTopic is not provided.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
// business
model.MessageBus
// lifecycle
common.Daemon
common.Debuggable
}
type Option ¶
type Option func(*manager)
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.