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.

Source Files