Documentation ¶
Index ¶
- type AuthTemplateParams
- type BaseTemplateParams
- type BlobField
- type ChainAccountTemplateParams
- type ChainBlobTemplateParams
- type ChainBlockTemplateParams
- type ChainContractTemplateParams
- type ChainInfo
- type ChainListTemplateParams
- type ChainOverview
- type ChainTemplateParams
- type ConfigTemplateParams
- type Dashboard
- type ErrorTemplateParams
- type LatestBlock
- type MetricsChainConsensusTemplateParams
- type MetricsChainNodeconnTemplateParams
- type MetricsChainTemplateParams
- type MetricsNodeconnTemplateParams
- type MetricsTemplateParams
- type Peer
- type PeeringStats
- type PeeringTemplateParams
- type Tab
- type TrustedPeer
- type WaspServices
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTemplateParams ¶ added in v0.3.0
type AuthTemplateParams struct { BaseTemplateParams Configuration map[string]interface{} LoginError string }
type BaseTemplateParams ¶ added in v0.1.0
type ChainAccountTemplateParams ¶ added in v0.1.0
type ChainAccountTemplateParams struct { BaseTemplateParams ChainID *isc.ChainID AgentID isc.AgentID Balances *isc.FungibleTokens }
type ChainBlobTemplateParams ¶ added in v0.1.0
type ChainBlockTemplateParams ¶ added in v0.2.0
type ChainContractTemplateParams ¶ added in v0.1.0
type ChainContractTemplateParams struct { BaseTemplateParams ChainID *isc.ChainID Hname isc.Hname ContractRecord *root.ContractRecord Log []string }
type ChainInfo ¶ added in v0.3.0
type ChainInfo struct { *governance.ChainInfo Contracts map[isc.Hname]*root.ContractRecord }
type ChainListTemplateParams ¶ added in v0.1.0
type ChainListTemplateParams struct { BaseTemplateParams Chains []*ChainOverview }
type ChainOverview ¶ added in v0.1.0
type ChainTemplateParams ¶ added in v0.1.0
type ChainTemplateParams struct { BaseTemplateParams ChainID *isc.ChainID EVMChainID uint16 Record *registry.ChainRecord LatestBlock *LatestBlock ChainInfo *ChainInfo Accounts []isc.AgentID TotalAssets *isc.FungibleTokens Blobs map[hashing.HashValue]uint32 Committee *chain.CommitteeInfo }
type ConfigTemplateParams ¶ added in v0.1.0
type ConfigTemplateParams struct { BaseTemplateParams Configuration map[string]interface{} }
type Dashboard ¶ added in v0.2.0
type Dashboard struct {
// contains filtered or unexported fields
}
func Init ¶ added in v0.1.0
func Init(server *echo.Echo, waspServices WaspServices, log *logger.Logger) *Dashboard
func (*Dashboard) BaseParams ¶ added in v0.2.0
func (d *Dashboard) BaseParams(c echo.Context, breadcrumbs ...Tab) BaseTemplateParams
func (*Dashboard) RenderAuthView ¶ added in v0.3.0
type ErrorTemplateParams ¶ added in v0.2.0
type ErrorTemplateParams struct { BaseTemplateParams Code int StatusText string Message string }
type LatestBlock ¶ added in v0.2.0
type MetricsChainConsensusTemplateParams ¶ added in v0.2.4
type MetricsChainConsensusTemplateParams struct { BaseTemplateParams ChainID string Status chain.ConsensusWorkflowStatus PipeMetrics chain.ConsensusPipeMetrics }
type MetricsChainNodeconnTemplateParams ¶ added in v0.2.4
type MetricsChainNodeconnTemplateParams struct { BaseTemplateParams ChainID string Metrics nodeconnmetrics.NodeConnectionMessagesMetrics }
type MetricsChainTemplateParams ¶ added in v0.2.4
type MetricsChainTemplateParams struct { BaseTemplateParams ChainID string }
type MetricsNodeconnTemplateParams ¶ added in v0.2.3
type MetricsNodeconnTemplateParams struct { BaseTemplateParams Metrics nodeconnmetrics.NodeConnectionMetrics }
type MetricsTemplateParams ¶ added in v0.2.3
type MetricsTemplateParams struct { BaseTemplateParams Chains []*ChainOverview }
type PeeringStats ¶ added in v0.2.0
type PeeringStats struct { Peers []Peer TrustedPeers []TrustedPeer }
type PeeringTemplateParams ¶ added in v0.1.0
type PeeringTemplateParams struct { BaseTemplateParams *PeeringStats }
type TrustedPeer ¶ added in v0.2.0
type WaspServices ¶ added in v0.2.0
type WaspServices interface { ConfigDump() map[string]interface{} ExploreAddressBaseURL() string WebAPIPort() string PeeringStats() (*PeeringStats, error) MyNetworkID() string GetChainRecords() ([]*registry.ChainRecord, error) GetChainRecord(chainID *isc.ChainID) (*registry.ChainRecord, error) GetChainCommitteeInfo(chainID *isc.ChainID) (*chain.CommitteeInfo, error) CallView(chainID *isc.ChainID, scName, fname string, params dict.Dict) (dict.Dict, error) GetChainNodeConnectionMetrics(*isc.ChainID) (nodeconnmetrics.NodeConnectionMessagesMetrics, error) GetNodeConnectionMetrics() (nodeconnmetrics.NodeConnectionMetrics, error) GetChainConsensusWorkflowStatus(*isc.ChainID) (chain.ConsensusWorkflowStatus, error) GetChainConsensusPipeMetrics(*isc.ChainID) (chain.ConsensusPipeMetrics, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.