common

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener interface {
	MaxDeliveryCount() int32
	LockRenewalInterval() *time.Duration
	LockDuration() time.Duration
	PrefetchCount() *uint32
	MaxConcurrency() *int
	Namespace() *servicebus.Namespace
	SetMaxDeliveryCount(maxDeliveryCount int32)
	SetLockRenewalInterval(lockRenewalInterval *time.Duration)
	SetLockDuration(lockDuration time.Duration)
	SetPrefetchCount(prefectCount *uint32)
	SetMaxConcurrency(maxConcurrency *int)
	SetNamespace(namespace *servicebus.Namespace)
}

type ListenerSettings

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

ListenerSettings is a struct to contain service bus entities relevant to subscribing to a publisher queue

func (*ListenerSettings) LockDuration

func (l *ListenerSettings) LockDuration() time.Duration

func (*ListenerSettings) LockRenewalInterval

func (l *ListenerSettings) LockRenewalInterval() *time.Duration

func (*ListenerSettings) MaxConcurrency

func (l *ListenerSettings) MaxConcurrency() *int

func (*ListenerSettings) MaxDeliveryCount

func (l *ListenerSettings) MaxDeliveryCount() int32

func (*ListenerSettings) Namespace

func (l *ListenerSettings) Namespace() *servicebus.Namespace

func (*ListenerSettings) PrefetchCount

func (l *ListenerSettings) PrefetchCount() *uint32

func (*ListenerSettings) SetLockDuration

func (l *ListenerSettings) SetLockDuration(lockDuration time.Duration)

func (*ListenerSettings) SetLockRenewalInterval

func (l *ListenerSettings) SetLockRenewalInterval(lockRenewalInterval *time.Duration)

func (*ListenerSettings) SetMaxConcurrency

func (l *ListenerSettings) SetMaxConcurrency(maxConcurrency *int)

func (*ListenerSettings) SetMaxDeliveryCount

func (l *ListenerSettings) SetMaxDeliveryCount(maxDeliveryCount int32)

func (*ListenerSettings) SetNamespace

func (l *ListenerSettings) SetNamespace(namespace *servicebus.Namespace)

func (*ListenerSettings) SetPrefetchCount

func (l *ListenerSettings) SetPrefetchCount(prefectCount *uint32)

type Publisher

type Publisher interface {
	Namespace() *servicebus.Namespace
	Headers() map[string]string
	SetNamespace(namespace *servicebus.Namespace)
	AppendHeader(k, v string)
}

type PublisherSettings

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

PublisherSettings is a struct to contain service bus entities relevant to publishing to a queue

func (*PublisherSettings) AppendHeader

func (p *PublisherSettings) AppendHeader(key, value string)

func (*PublisherSettings) Headers

func (p *PublisherSettings) Headers() map[string]string

func (*PublisherSettings) Namespace

func (p *PublisherSettings) Namespace() *servicebus.Namespace

func (*PublisherSettings) SetNamespace

func (p *PublisherSettings) SetNamespace(namespace *servicebus.Namespace)

Directories

Path Synopsis
options

Jump to

Keyboard shortcuts

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