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
Click to show internal directories.
Click to hide internal directories.