Documentation ¶
Overview ¶
Tequila API
The purpose of this documentation is to provide developers an insight of how to interact with Mysterium Node via Tequila API. This should demonstrate all the possible API calls with described parameters and responses.
Host: 127.0.0.1:4050 Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCors ¶
ApplyCors wraps original handler by adding cors headers to response BEFORE original ServeHTTP method is called
func DisableCaching ¶
DisableCaching middleware adds cache disabling headers to http response
func NewAPIRouter ¶
func NewAPIRouter() *httprouter.Router
NewAPIRouter returns new api router with status endpoints
Types ¶
type TestClient ¶
func NewTestClient ¶
func NewTestClient(t *testing.T, address string) TestClient
NewTestClient returns client for making test requests
Source Files ¶
Click to show internal directories.
Click to hide internal directories.