handlers

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: GPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPageModel = errors.New("invalid page model")

Functions

func ClientsCL added in v1.10.0

func ClientsCL(w http.ResponseWriter, r *http.Request)

ClientsCL will return the main "clients" page using a go template

func ClientsEl added in v1.10.0

func ClientsEl(w http.ResponseWriter, r *http.Request)

ClientsEl will return the main "clients" page using a go template

func CustomFileServer

func CustomFileServer(handler http.Handler, root http.FileSystem, NotFoundHandler http.HandlerFunc) http.Handler

Custom FileServer which does the same as http.FileServer, but serves custom page on 404 error

func DebugCache added in v1.13.0

func DebugCache(w http.ResponseWriter, r *http.Request)

DebugCache will submit a consolidation request

func Deposits

func Deposits(w http.ResponseWriter, r *http.Request)

Deposits will return the main "deposits" page using a go template

func ElConsolidations added in v1.12.0

func ElConsolidations(w http.ResponseWriter, r *http.Request)

ElConsolidations will return the filtered "el_consolidations" page using a go template

func ElWithdrawals added in v1.12.0

func ElWithdrawals(w http.ResponseWriter, r *http.Request)

ElWithdrawals will return the filtered "el_withdrawals" page using a go template

func Epoch

func Epoch(w http.ResponseWriter, r *http.Request)

Epoch will return the main "epoch" page using a go template

func Epochs

func Epochs(w http.ResponseWriter, r *http.Request)

Epochs will return the main "epochs" page using a go template

func Forks

func Forks(w http.ResponseWriter, r *http.Request)

Forks will return the main "forks" page using a go template

func IncludedDeposits

func IncludedDeposits(w http.ResponseWriter, r *http.Request)

IncludedDeposits will return the filtered "included_deposits" page using a go template

func Index

func Index(w http.ResponseWriter, r *http.Request)

Index will return the main "index" page using a go template

func IndexData

func IndexData(w http.ResponseWriter, r *http.Request)

func InitPageData

func InitPageData(w http.ResponseWriter, r *http.Request, active, path, title string, mainTemplates []string) *types.PageData

func InitiatedDeposits

func InitiatedDeposits(w http.ResponseWriter, r *http.Request)

InitiatedDeposits will return the filtered "initiated_deposits" page using a go template

func MevBlocks

func MevBlocks(w http.ResponseWriter, r *http.Request)

MevBlocks will return the filtered "mev_blocks" page using a go template

func NotFound

func NotFound(w http.ResponseWriter, r *http.Request)
func Search(w http.ResponseWriter, r *http.Request)

Search will return the main "search" page using a go template

func SearchAhead

func SearchAhead(w http.ResponseWriter, r *http.Request)

SearchAhead handles responses for the frontend search boxes

func Slashings

func Slashings(w http.ResponseWriter, r *http.Request)

Slashings will return the filtered "slashings" page using a go template

func Slot

func Slot(w http.ResponseWriter, r *http.Request)

Index will return the main "index" page using a go template

func SlotBlob

func SlotBlob(w http.ResponseWriter, r *http.Request)

SlotBlob handles responses for the block blobs tab

func Slots

func Slots(w http.ResponseWriter, r *http.Request)

Slots will return the main "slots" page using a go template

func SlotsFiltered

func SlotsFiltered(w http.ResponseWriter, r *http.Request)

SlotsFiltered will return the filtered "slots" page using a go template

func SubmitConsolidation added in v1.12.1

func SubmitConsolidation(w http.ResponseWriter, r *http.Request)

SubmitConsolidation will submit a consolidation request

func SubmitDeposit added in v1.12.1

func SubmitDeposit(w http.ResponseWriter, r *http.Request)

SubmitDeposit will submit a deposit to the beacon node

func SubmitWithdrawal added in v1.12.1

func SubmitWithdrawal(w http.ResponseWriter, r *http.Request)

SubmitWithdrawal will submit a withdrawal request

func Validator

func Validator(w http.ResponseWriter, r *http.Request)

Validator will return the main "validator" page using a go template

func ValidatorSlots

func ValidatorSlots(w http.ResponseWriter, r *http.Request)

Slots will return the main "slots" page using a go template

func Validators

func Validators(w http.ResponseWriter, r *http.Request)

Validators will return the main "validators" page using a go template

func ValidatorsActivity

func ValidatorsActivity(w http.ResponseWriter, r *http.Request)

ValidatorsActivity will return the filtered "slots" page using a go template

func VoluntaryExits

func VoluntaryExits(w http.ResponseWriter, r *http.Request)

VoluntaryExits will return the filtered "voluntary_exits" page using a go template

Types

This section is empty.

Jump to

Keyboard shortcuts

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