mapping

package
v0.0.0-...-fb28d3e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client mapping client

func New

func New(helpers ...Helper) Client

New creates new mapping client

func (Client) Load

func (c Client) Load() ([]ConsumerForwarderMapping, error)

Load loads mappings

type ConsumerForwarderMapping

type ConsumerForwarderMapping struct {
	Consumer  consumer.Client
	Forwarder forwarder.Client
}

ConsumerForwarderMapping mapping for consumers and forwarders

type Helper

type Helper interface {
	// contains filtered or unexported methods
}

Helper interface for creating consumers and forwaders

Jump to

Keyboard shortcuts

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