Documentation ¶
Index ¶
- type AllTotals
- func (w AllTotals) Clone() Widget
- func (w *AllTotals) GetData(ctx context.Context, a Args) (err error)
- func (w AllTotals) HTML() template.HTML
- func (w AllTotals) Name() string
- func (w *AllTotals) SetHTML(h template.HTML)
- func (w AllTotals) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w AllTotals) Type() string
- type Args
- type Browsers
- func (w Browsers) Clone() Widget
- func (w *Browsers) GetData(ctx context.Context, a Args) (err error)
- func (w Browsers) HTML() template.HTML
- func (w Browsers) Name() string
- func (w *Browsers) SetHTML(h template.HTML)
- func (w Browsers) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Browsers) Type() string
- type List
- type Locations
- func (w Locations) Clone() Widget
- func (w *Locations) GetData(ctx context.Context, a Args) (err error)
- func (w Locations) HTML() template.HTML
- func (w Locations) Name() string
- func (w *Locations) SetHTML(h template.HTML)
- func (w Locations) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Locations) Type() string
- type Max
- func (w Max) Clone() Widget
- func (w *Max) GetData(ctx context.Context, a Args) (err error)
- func (w Max) HTML() template.HTML
- func (w Max) Name() string
- func (w *Max) SetHTML(h template.HTML)
- func (w Max) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Max) Type() string
- type Pages
- func (w Pages) Clone() Widget
- func (w *Pages) GetData(ctx context.Context, a Args) (err error)
- func (w Pages) HTML() template.HTML
- func (w Pages) Name() string
- func (w *Pages) SetHTML(h template.HTML)
- func (w Pages) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Pages) Type() string
- type Refs
- func (w Refs) Clone() Widget
- func (w *Refs) GetData(ctx context.Context, a Args) (err error)
- func (w Refs) HTML() template.HTML
- func (w Refs) Name() string
- func (w *Refs) SetHTML(h template.HTML)
- func (w Refs) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Refs) Type() string
- type SharedData
- type Sizes
- func (w Sizes) Clone() Widget
- func (w *Sizes) GetData(ctx context.Context, a Args) (err error)
- func (w Sizes) HTML() template.HTML
- func (w Sizes) Name() string
- func (w *Sizes) SetHTML(h template.HTML)
- func (w Sizes) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Sizes) Type() string
- type Systems
- func (w Systems) Clone() Widget
- func (w *Systems) GetData(ctx context.Context, a Args) (err error)
- func (w Systems) HTML() template.HTML
- func (w Systems) Name() string
- func (w *Systems) SetHTML(h template.HTML)
- func (w Systems) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Systems) Type() string
- type Toprefs
- func (w Toprefs) Clone() Widget
- func (w *Toprefs) GetData(ctx context.Context, a Args) (err error)
- func (w Toprefs) HTML() template.HTML
- func (w Toprefs) Name() string
- func (w *Toprefs) SetHTML(h template.HTML)
- func (w Toprefs) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Toprefs) Type() string
- type Totalpages
- func (w Totalpages) Clone() Widget
- func (w *Totalpages) GetData(ctx context.Context, a Args) (err error)
- func (w Totalpages) HTML() template.HTML
- func (w Totalpages) Name() string
- func (w *Totalpages) SetHTML(h template.HTML)
- func (w Totalpages) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Totalpages) Type() string
- type Totals
- func (w Totals) Clone() Widget
- func (w *Totals) GetData(ctx context.Context, a Args) (err error)
- func (w Totals) HTML() template.HTML
- func (w Totals) Name() string
- func (w *Totals) SetHTML(h template.HTML)
- func (w Totals) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
- func (w Totals) Type() string
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllTotals ¶
type AllTotals struct { AllTotalUniqueUTC int // contains filtered or unexported fields }
func (AllTotals) TemplateData ¶
func (w AllTotals) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Browsers ¶
type Browsers struct { Browsers goatcounter.Stats // contains filtered or unexported fields }
func (Browsers) TemplateData ¶
func (w Browsers) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Locations ¶
type Locations struct { LocStat goatcounter.Stats // contains filtered or unexported fields }
func (Locations) TemplateData ¶
func (w Locations) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Max ¶
type Max struct { Max int // contains filtered or unexported fields }
func (Max) TemplateData ¶
func (w Max) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Pages ¶
type Pages struct {
Display, UniqueDisplay int
More bool
Pages goatcounter.HitStats
// contains filtered or unexported fields
}
func (Pages) TemplateData ¶
func (w Pages) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Refs ¶
type Refs struct { Refs goatcounter.Stats // contains filtered or unexported fields }
func (Refs) TemplateData ¶
func (w Refs) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type SharedData ¶
type SharedData struct {}
type Sizes ¶
type Sizes struct { SizeStat goatcounter.Stats // contains filtered or unexported fields }
func (Sizes) TemplateData ¶
func (w Sizes) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Systems ¶
type Systems struct { Systems goatcounter.Stats // contains filtered or unexported fields }
func (Systems) TemplateData ¶
func (w Systems) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Toprefs ¶
type Toprefs struct { TopRefs goatcounter.Stats // contains filtered or unexported fields }
func (Toprefs) TemplateData ¶
func (w Toprefs) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
type Totalpages ¶
type Totalpages struct { Max int Total goatcounter.HitStat // contains filtered or unexported fields }
func (Totalpages) Clone ¶
func (w Totalpages) Clone() Widget
func (Totalpages) HTML ¶
func (w Totalpages) HTML() template.HTML
func (Totalpages) Name ¶
func (w Totalpages) Name() string
func (*Totalpages) SetHTML ¶
func (w *Totalpages) SetHTML(h template.HTML)
func (Totalpages) TemplateData ¶
func (w Totalpages) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
func (Totalpages) Type ¶
func (w Totalpages) Type() string
type Totals ¶
type Totals struct {
Total, TotalUnique int
// contains filtered or unexported fields
}
func (Totals) TemplateData ¶
func (w Totals) TemplateData(ctx context.Context, shared SharedData) (string, interface{})
Click to show internal directories.
Click to hide internal directories.