Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedProviders = []string{"plausible"}
Functions ¶
This section is empty.
Types ¶
type Analytics ¶
type Analytics struct {
// The analytics provider to use. Currently available: plausible
Provider string `json:"provider,omitempty"`
// Domain name on which the analytics provider is hosted. Defaults to the official instance.
Server string `json:"host,omitempty"`
// An API token. Used to automate registering of websites on the analytics provider. Does nothing for now.
AdminToken string `json:"admin_token,omitempty"`
}
func (Analytics) CaddyModule ¶
func (Analytics) CaddyModule() caddy.ModuleInfo
func (Analytics) DefaultServer ¶
Click to show internal directories.
Click to hide internal directories.