http

package module
v0.0.0-...-4fe21aa Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Overview

Package http provides a http based message broker

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSubPath = "/_sub"
)

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