rest

package
v0.0.0-...-b93088c Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(h *ApiHandler)

Types

type ApiHandler

type ApiHandler struct {
	// contains filtered or unexported fields
}

func NewApiHandler

func NewApiHandler(c *client.Client) *ApiHandler

func (*ApiHandler) AutomateOutputMerging

func (h *ApiHandler) AutomateOutputMerging(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetBlock

func (h *ApiHandler) GetBlock(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetBlocks

func (h *ApiHandler) GetBlocks(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetHome

func (h *ApiHandler) GetHome(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetSearchResult

func (h *ApiHandler) GetSearchResult(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetTransaction

func (h *ApiHandler) GetTransaction(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetTransactionJSON

func (h *ApiHandler) GetTransactionJSON(w http.ResponseWriter, r *http.Request)

func (*ApiHandler) GetTransactions

func (h *ApiHandler) GetTransactions(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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