Versions in this module Expand all Collapse all v0 v0.0.12 Mar 30, 2017 v0.0.11 Mar 28, 2017 Changes in this version + var RESTAPIServerIdleTimeout = 60 * time.Second + var RESTAPIServerReadTimeout = 5 * time.Second + var RESTAPIServerWriteTimeout = 10 * time.Second + type RESTAPI struct + func NewRESTAPI(apiMAddr ma.Multiaddr) (*RESTAPI, error) + func (rest *RESTAPI) SetClient(c *rpc.Client) + func (rest *RESTAPI) Shutdown() error