Documentation ¶
Overview ¶
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
templ: version: v0.2.778
Index ¶
- func CamelCaseKeys(result []map[string]interface{}) []map[string]interface{}
- type AnalyticsChartData
- type AnalyticsPageView
- type BlockPageJSONResponse
- type BlockView
- type NodePageView
- type NodesView
- type OverviewPageView
- type Pages
- func (p *Pages) AnalyticsHeaderHTML(TotalBlocks, TotalTransactions, TotalPlays, TotalManageEntities, ... string) templ.Component
- func (p *Pages) AnalyticsPageHTML(data *AnalyticsPageView) templ.Component
- func (p *Pages) BlockPageHTML(view *BlockView) templ.Component
- func (p *Pages) BlockPageJSON(data *BlockView) (*BlockPageJSONResponse, error)
- func (p *Pages) ContentPageHTML() templ.Component
- func (p *Pages) ErrorPageHTML(errorID string) templ.Component
- func (p *Pages) GenesisHTML(genesis map[string]interface{}) templ.Component
- func (p *Pages) NodePageHTML(data *NodePageView) templ.Component
- func (p *Pages) NodesPageHTML(data *NodesView) templ.Component
- func (p *Pages) OverviewPageHTML(data *OverviewPageView) templ.Component
- func (p *Pages) OverviewPageJSON()
- func (p *Pages) TxPageHTML(view *TxView) templ.Component
- func (p *Pages) TxPageJSON(data *TxView) (*TxPageJSONResponse, error)
- func (c *Pages) UptimePageHTML(props *UptimePageView) templ.Component
- type TxPageJSONResponse
- type TxView
- type UptimePageView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelCaseKeys ¶
Types ¶
type AnalyticsChartData ¶
type AnalyticsPageView ¶
type AnalyticsPageView struct { TotalBlocks string TotalTransactions string TotalPlays string TotalValidators string ChartData []AnalyticsChartData }
type BlockPageJSONResponse ¶
type NodePageView ¶
type NodesView ¶
type NodesView struct {
Nodes []db.CoreValidator
}
type OverviewPageView ¶
type OverviewPageView struct { Blocks []BlockView Txs []db.CoreTxResult }
type Pages ¶
type Pages struct {
// contains filtered or unexported fields
}
func (*Pages) AnalyticsHeaderHTML ¶
func (*Pages) AnalyticsPageHTML ¶
func (p *Pages) AnalyticsPageHTML(data *AnalyticsPageView) templ.Component
func (*Pages) BlockPageJSON ¶
func (p *Pages) BlockPageJSON(data *BlockView) (*BlockPageJSONResponse, error)
func (*Pages) ContentPageHTML ¶
func (*Pages) GenesisHTML ¶
func (*Pages) NodePageHTML ¶
func (p *Pages) NodePageHTML(data *NodePageView) templ.Component
func (*Pages) OverviewPageHTML ¶
func (p *Pages) OverviewPageHTML(data *OverviewPageView) templ.Component
func (*Pages) OverviewPageJSON ¶
func (p *Pages) OverviewPageJSON()
func (*Pages) TxPageJSON ¶
func (p *Pages) TxPageJSON(data *TxView) (*TxPageJSONResponse, error)
func (*Pages) UptimePageHTML ¶
func (c *Pages) UptimePageHTML(props *UptimePageView) templ.Component
type TxPageJSONResponse ¶
type UptimePageView ¶
Click to show internal directories.
Click to hide internal directories.