Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListItem ¶
type ListItem struct { widget.BaseWidget // contains filtered or unexported fields }
func NewListItem ¶
func NewListItem() *ListItem
func (*ListItem) CreateRenderer ¶
func (li *ListItem) CreateRenderer() fyne.WidgetRenderer
func (*ListItem) UpdateDataInt ¶
func (*ListItem) UpdateDataString ¶
type PagesAdapter ¶
type PagesAdapter struct {
// contains filtered or unexported fields
}
func (*PagesAdapter) Count ¶
func (pa *PagesAdapter) Count() int
func (*PagesAdapter) Create ¶
func (pa *PagesAdapter) Create() fyne.CanvasObject
func (*PagesAdapter) Update ¶
func (pa *PagesAdapter) Update(id widget.ListItemID, co fyne.CanvasObject)
func (*PagesAdapter) UpdateData ¶
func (pa *PagesAdapter) UpdateData(pages []plausible.Page)
type SettingsWindow ¶
type SettingsWindow struct { widget.BaseWidget // contains filtered or unexported fields }
func NewSettingsWindow ¶
func NewSettingsWindow(str SiteTokenRepo) *SettingsWindow
func (*SettingsWindow) CreateRenderer ¶
func (sw *SettingsWindow) CreateRenderer() fyne.WidgetRenderer
type SiteDisplay ¶
type SiteDisplay struct { widget.BaseWidget // contains filtered or unexported fields }
func NewSiteDisplay ¶
func NewSiteDisplay(canvas fyne.Canvas, statsRepo plausible.StatsRepo) *SiteDisplay
func (*SiteDisplay) CreateRenderer ¶
func (sd *SiteDisplay) CreateRenderer() fyne.WidgetRenderer
type SiteTokenRepo ¶
type SiteTokenRepo interface { List() ([]plausible.SiteTokenPair, error) Store(pair plausible.SiteTokenPair) error Delete(pair plausible.SiteTokenPair) error }
type Sites ¶
type Sites struct { widget.BaseWidget // contains filtered or unexported fields }
func NewSites ¶
func NewSites(repo SiteTokenRepo) *Sites
func (*Sites) CreateRenderer ¶
func (s *Sites) CreateRenderer() fyne.WidgetRenderer
type SourcesAdapter ¶
type SourcesAdapter struct {
// contains filtered or unexported fields
}
func (*SourcesAdapter) Count ¶
func (sa *SourcesAdapter) Count() int
func (*SourcesAdapter) Create ¶
func (sa *SourcesAdapter) Create() fyne.CanvasObject
func (*SourcesAdapter) Update ¶
func (sa *SourcesAdapter) Update(id widget.ListItemID, co fyne.CanvasObject)
func (*SourcesAdapter) UpdateData ¶
func (sa *SourcesAdapter) UpdateData(sources []plausible.Source)
Click to show internal directories.
Click to hide internal directories.