bitcoind

package
v0.0.0-...-44e067b Latest Latest
Warning

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

Go to latest
Published: May 21, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package bitcoind is a package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(mux *http.ServeMux, configuration configuration.Configuration)

Types

type AddNodeHandler

type AddNodeHandler struct {
	// Configuration contains the app configuration. In this context only the server list is used.
	Configuration configuration.Configuration
}

func (AddNodeHandler) ServeHTTP

func (i AddNodeHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

type IndexRequestHandler

type IndexRequestHandler struct {
	// Configuration contains the app configuration. In this context only the server list is used.
	Configuration configuration.Configuration
}

IndexRequestHandler handles the requests to present the main url of the application

func (IndexRequestHandler) ServeHTTP

func (i IndexRequestHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

ServeHTTP handles the request made to the homepage of the app. It will only serve the required files to start the RectJS app as well as some important configuration.

type IndexTemplateParams

type IndexTemplateParams struct {
	Title         string
	Peers         []method.PeerInfo
	Network       method.NetworkInfo
	Banned        []method.Banned
	Mempool       method.MempoolInfo
	AddedNodeInfo []method.AddedNodeInfo
	NetTotals     method.NetTotals
	Uptime        time.Duration
}

IndexTemplateParams holds various values to be passed to the main template

type RemoveNodeHandler

type RemoveNodeHandler struct {
	// Configuration contains the app configuration. In this context only the server list is used.
	Configuration configuration.Configuration
}

func (RemoveNodeHandler) ServeHTTP

func (i RemoveNodeHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Directories

Path Synopsis
Package humanize contains funcs that will turn raw data from bitcoind into human readable data Package humanize contains funcs that will turn raw data from bitcoind into human readable data Package humanize contains funcs that will turn raw data from bitcoind into human readable data
Package humanize contains funcs that will turn raw data from bitcoind into human readable data Package humanize contains funcs that will turn raw data from bitcoind into human readable data Package humanize contains funcs that will turn raw data from bitcoind into human readable data
rpc
Package rpc is a package
Package rpc is a package
method
Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server
Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server Package method contains an implemenetation of the RPC methods made available by the Bitcoin server

Jump to

Keyboard shortcuts

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