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 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.
Click to show internal directories.
Click to hide internal directories.