http

package
v3.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package http provides a http based message broker

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPath    = "/"
	DefaultAddress = "127.0.0.1:0"
)

Functions

func Handle

func Handle(pattern string, handler http.Handler) broker.Option

Handle registers the handler for the given pattern.

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

NewBroker returns a new http broker

Types

This section is empty.

Jump to

Keyboard shortcuts

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