Documentation
¶
Overview ¶
Package viewshistory persists per-repo daily traffic counts so the Overview SVG can show a lifetime view total instead of GitHub's rolling 14-day window.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type History ¶
type History struct {
Counter int `json:"counter"`
Seed int `json:"seed,omitempty"`
Repos map[string]map[string]int `json:"repos"`
}
History is repo full-name -> ISO date string (YYYY-MM-DD) -> view count, plus the current profile-view counter value from the profile README badge.
Click to show internal directories.
Click to hide internal directories.