stan_util

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DurableConnection

type DurableConnection struct {
	// contains filtered or unexported fields
}

func DurableConnect

func DurableConnect(stanClusterID, clientID, urls string, options ...stan.Option) (*DurableConnection, error)

func (*DurableConnection) Check added in v0.2.3

func (c *DurableConnection) Check() error

func (*DurableConnection) Close

func (c *DurableConnection) Close() error

func (*DurableConnection) PublishAsync

func (c *DurableConnection) PublishAsync(subject string, data []byte, ah stan.AckHandler) (string, error)

func (*DurableConnection) QueueSubscribe

func (c *DurableConnection) QueueSubscribe(subject, qgroup string, cb stan.MsgHandler, opts ...stan.SubscriptionOption) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL