connection

package
v0.0.0-...-7966236 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

Connection defines structure for connection to rabbitmq

func (*Connection) AddSubscribtion

func (c *Connection) AddSubscribtion(ctx context.Context, queueName string, s subscriber) error

AddSubscription provides adding of the new subscription

func (*Connection) Run

func (c *Connection) Run(ctx context.Context) error

Run provides running of connection

Jump to

Keyboard shortcuts

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