Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringWithCharset ¶
Types ¶
type PublishConfig ¶
type PublishConfig struct { URL string TopicPrefix string TopicCount uint PublisherPrefix string PublisherCount uint ProtocolVersion uint QoSType uint8 CleanSession bool ConnectDelay time.Duration ChurnRate time.Duration MessageRate time.Duration PrometheusPath string PrometheusEnabled bool ListenAddr string User string Password string }
type PublisherPool ¶
type PublisherPool struct { TopicPrefix string // contains filtered or unexported fields }
func NewDefaultPublisherPool ¶
func NewDefaultPublisherPool(conf PublishConfig) PublisherPool
type SubscribeConfig ¶
type SubscriberPool ¶
type SubscriberPool struct { TopicPrefix string // contains filtered or unexported fields }
func NewDefaultSubscriberPool ¶
func NewDefaultSubscriberPool(conf SubscribeConfig) (SubscriberPool, error)
Click to show internal directories.
Click to hide internal directories.