azure-amqp-common-go: github.com/Azure/azure-amqp-common-go Index | Files | Directories

package common

import "github.com/Azure/azure-amqp-common-go"

Index

Package Files

ptrs.go retry.go

func PtrBool Uses

func PtrBool(toPtr bool) *bool

PtrBool takes a boolean and returns a pointer to that bool. For use in literal pointers, ptrBool(true) -> *bool

func PtrInt32 Uses

func PtrInt32(number int32) *int32

PtrInt32 takes a int32 and returns a pointer to that int32. For use in literal pointers, ptrInt32(1) -> *int32

func PtrInt64 Uses

func PtrInt64(number int64) *int64

PtrInt64 takes a int64 and returns a pointer to that int64. For use in literal pointers, ptrInt64(1) -> *int64

func PtrString Uses

func PtrString(toPtr string) *string

PtrString takes a string and returns a pointer to that string. For use in literal pointers, PtrString(fmt.Sprintf("..", foo)) -> *string

func Retry Uses

func Retry(times int, delay time.Duration, action func() (interface{}, error)) (interface{}, error)

Retry will attempt to retry an action a number of times if the action returns a retryable error

type Retryable Uses

type Retryable string

Retryable represents an error which should be able to be retried

func (Retryable) Error Uses

func (r Retryable) Error() string

Error implementation for Retryable

Directories

PathSynopsis
aadPackage aad provides an implementation of an Azure Active Directory JWT provider which implements TokenProvider from package auth for use with Azure Event Hubs and Service Bus.
authPackage auth provides an abstraction over claims-based security for Azure Event Hub and Service Bus.
cbsPackage cbs provides the functionality for negotiating claims-based security over AMQP for use in Azure Service Bus and Event Hubs.
conn
internal
internal/tracing
log
persistPackage persist provides abstract structures for checkpoint persistence.
rpcPackage rpc provides functionality for request / reply messaging.
sasPackage sas provides SAS token functionality which implements TokenProvider from package auth for use with Azure Event Hubs and Service Bus.
uuid

Package common imports 1 packages (graph) and is imported by 9 packages. Updated 2019-01-09. Refresh now. Tools for package owners.