broker

package
v0.0.0-...-bbf0bf7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	Name     string
	ID       uuid.UUID
	Hostname string
	// contains filtered or unexported fields
}

func New

func New(config configuration.Configuration) (*Broker, error)

func (*Broker) APIVersion

func (b *Broker) APIVersion(ctx *fiber.Ctx) error

func (*Broker) CreateQuery

func (b *Broker) CreateQuery(ctx *fiber.Ctx) error

func (*Broker) GetHost

func (b *Broker) GetHost() string

func (*Broker) GetID

func (b *Broker) GetID() string

func (*Broker) GetMetadata

func (b *Broker) GetMetadata() map[string]string

func (*Broker) GetName

func (b *Broker) GetName() string

func (*Broker) GetPort

func (b *Broker) GetPort() string

func (*Broker) ShutdownServer

func (b *Broker) ShutdownServer() error

func (*Broker) StartServer

func (b *Broker) StartServer(address string) error

Jump to

Keyboard shortcuts

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