broker

package
v0.0.0-...-64d68c9 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	ConnectionString string
	QueueName        string
	Svc              model.IService

	MgtUrl string
	// contains filtered or unexported fields
}

func NewController

func NewController(conf controller.ControllerConfig, svc model.IService) *Controller

func (*Controller) Close

func (c *Controller) Close() error

Close gracefully shuts down the connection and channel

func (*Controller) Start

func (c *Controller) Start(ctx context.Context, wg *sync.WaitGroup)

Start the controller

Jump to

Keyboard shortcuts

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