internal

package
v0.0.0-...-7327a1d Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{}) error

func GetBrokers

func GetBrokers() []string

func LoadENVFiles

func LoadENVFiles() error

func New

func New(msg string) error

func NewPublisher

func NewPublisher(logger watermill.LoggerAdapter) (message.Publisher, error)

func NewSubscriber

func NewSubscriber(consumerGroup string, logger watermill.LoggerAdapter) (message.Subscriber, error)

func Wrap

func Wrap(orig error, msg string) error

func Wrapf

func Wrapf(orig error, format string, a ...interface{}) error

Types

type Error

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

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

Jump to

Keyboard shortcuts

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