server

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHandler

func CreateHandler(c controller.Controller) http.Handler

CreateHandler creates Broker HTTP handler based on an implementation of a controller.Controller interface.

func Start

func Start(serverPort int, c controller.Controller)

Start creates the HTTP handler based on an implementation of a controller.Controller interface, and begins to listen on the specified port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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