server

package
v0.0.0-...-c374b59 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter() http.Handler

func RunServer

func RunServer()

Types

type BEXHandler

type BEXHandler struct {
}

func (*BEXHandler) AddTransaction

func (bex *BEXHandler) AddTransaction(w http.ResponseWriter, r *http.Request)

func (*BEXHandler) ReplaceBlockchain

func (bex *BEXHandler) ReplaceBlockchain(w http.ResponseWriter, r *http.Request)

type PEXHandler

type PEXHandler struct {
}

func (*PEXHandler) AddPeer

func (pex *PEXHandler) AddPeer(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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