apis

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ADDRESSSUMARY Const for AddressSummary API Handler
	ADDRESSSUMARY = "AddressSummary"
	// STATUS Const for Status API Handler
	STATUS = "Status"
	// SQLQUERY Const for Query API Hander
	SQLQUERY = "SQLQuery"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	TimeSpent   string
	Status      int
	Data        interface{}
	RedirectURL string
	Error       error
}

Response is returned by API handlers

func HandleAction

func HandleAction(operation string, w http.ResponseWriter, r *http.Request) (*Response, error)

HandleAction handles all operations comming from swagger API. This is the entry point to chainquery.

Jump to

Keyboard shortcuts

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