listeners

package
v0.0.0-...-3cc3ff2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx *broker.Context, codec codec.Constructors, listeners transport.ListenerList, endpoints transport.EndpointList) error

Apply collects the given endpoints and applies them to the configured listeners. A error is returned if a listener is not found or a listener returned a error.

Types

type ErrNoListener

type ErrNoListener struct {
	Listener string
}

ErrNoListener is thrown when no listener has been found

func (ErrNoListener) Error

func (e ErrNoListener) Error() string

func (ErrNoListener) Prettify

func (e ErrNoListener) Prettify() prettyerr.Error

Prettify returns the prettified version of the given error

Jump to

Keyboard shortcuts

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