ws

package
v0.0.0-...-c063610 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2015 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONPFilter

func JSONPFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

JSONPFilter implements JSONP handling. It looks for a callback argument and modifies the returned response to wrap it in the callback.

func NewRegisteredServicesContainer

func NewRegisteredServicesContainer() *restful.Container

NewRegisteredServicesContainer creates a container for all the web services.

func Start

func Start()

Start starts up all the webservices and the webserver.

func StartRetry

func StartRetry(retryCount int)

StartRetry attempts a number of times to try connecting to the port address. This is useful when the server is restarting and the old server hasn't exited yet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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