messaging

package
v0.2.0-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultExchangeName = "m8_events" // name of the monoskope exchange
	CACertPath          = "/etc/eventstore/certs/buscerts/ca.crt"
	TLSCertPath         = "/etc/eventstore/certs/buscerts/tls.crt"
	TLSKeyPath          = "/etc/eventstore/certs/buscerts/tls.key"
)

Variables

This section is empty.

Functions

func NewRabbitEventBusConsumer

func NewRabbitEventBusConsumer(conf *RabbitEventBusConfig) (evs.EventBusConsumer, error)

NewRabbitEventBusConsumer creates a new EventBusConsumer for rabbitmq.

func NewRabbitEventBusPublisher

func NewRabbitEventBusPublisher(conf *RabbitEventBusConfig) (evs.EventBusPublisher, error)

NewRabbitEventBusPublisher creates a new EventBusPublisher for rabbitmq.

Types

type CertAuth

type CertAuth struct {
}

CertAuth for RabbitMQ-auth-mechanism-ssl.

func (*CertAuth) Mechanism

func (me *CertAuth) Mechanism() string

func (*CertAuth) Response

func (me *CertAuth) Response() string

type RabbitEventBusConfig

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

func NewRabbitEventBusConfig

func NewRabbitEventBusConfig(name, url, routingKeyPrefix string) (*RabbitEventBusConfig, error)

NewRabbitEventBusConfig creates a new RabbitEventBusConfig with defaults.

func (*RabbitEventBusConfig) Validate

func (conf *RabbitEventBusConfig) Validate() error

Validate validates the configuration

Jump to

Keyboard shortcuts

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