handlers

package
v0.0.0-...-d101602 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PoolContainsNode

func PoolContainsNode(database *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PoolEditApplicationHandler

func PoolEditApplicationHandler(db *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PoolNewApplicationHandler

func PoolNewApplicationHandler(db *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PoolNodes

func PoolNodes(database *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PoolStatusViewHandler

func PoolStatusViewHandler(db *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PoolViewApplicationHandler

func PoolViewApplicationHandler(db *gorm.DB) func(w http.ResponseWriter, r *http.Request)

func PublicPoolInformationHandler

func PublicPoolInformationHandler(database *gorm.DB) func(w http.ResponseWriter, r *http.Request)

Retrieve Pool Information

Types

type MessageRequest

type MessageRequest struct {
	Message   *json.RawMessage `json:"message"`
	Hash      string           `json:"hash"`
	Signature string           `json:"signature"`
	Address   string           `json:"address"`
}

type PoolContainsWallet

type PoolContainsWallet struct {
	ContainsWallet bool
}

Jump to

Keyboard shortcuts

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