Documentation
¶
Overview ¶
Package ecosystem provides protocol ecosystem health dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContribStats ¶
type ContribStats struct {
TotalProtocols int `json:"total_protocols"`
Contributors int `json:"contributors"`
Downloads int `json:"downloads"`
Stars int `json:"stars"`
}
ContribStats represents community contribution statistics.
type Dashboard ¶
type Dashboard struct {
Health []HealthMetric `json:"health"`
Contrib ContribStats `json:"contributions"`
Trends []Trend `json:"trends"`
}
Dashboard holds ecosystem dashboard data.
func NewDashboard ¶
func NewDashboard() *Dashboard
NewDashboard creates a dashboard with sample data.
type HealthMetric ¶
type HealthMetric struct {
Name string `json:"name"`
Value float64 `json:"value"`
Unit string `json:"unit"`
}
HealthMetric represents an ecosystem health metric.
Click to show internal directories.
Click to hide internal directories.