apiactions

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AutoUpdateCommand = ""

AutoUpdateCommand is the path of the shell script to run in the environment chainquery is installed on. It should stop the service, download and replace the new binary from https://github.com/lbryio/chainquery/releases, start the service.

Functions

func AddressSummaryAction

func AddressSummaryAction(r *http.Request) api.Response

AddressSummaryAction returns address details: received, spent, balance

func AutoUpdateAction

func AutoUpdateAction(r *http.Request) api.Response

AutoUpdateAction takes a travis webhook for a successful deployment and runs an environment script to self update.

func ChainQueryStatusAction

func ChainQueryStatusAction(r *http.Request) api.Response

ChainQueryStatusAction returns status information of the chainquery application. Currently, tables' name and size.

func IndexAction

func IndexAction(r *http.Request) api.Response

IndexAction returns Hello World!

func SQLQueryAction

func SQLQueryAction(r *http.Request) api.Response

SQLQueryAction returns an array of structured data matching the queried results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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