Documentation
¶
Overview ¶
Package stats counts magpie's users: once a day a running magpie tells PostHog it is in use, under an id made up on this computer, with its version and system. Nothing else goes: no names, accounts, keys, models, prompts or usage. Settings → Privacy turns it off, and so do DO_NOT_TRACK=1 and MAGPIE_NO_STATS=1; a build from source never sends it.
Index ¶
Constants ¶
View Source
const Key = "phc_nyDyYyrUTRGvNq5U7FBesCyM2j4GdKeqGp8ko7DBerTC"
Key is the Magpie project's key on PostHog: it can send events there and read nothing, so it is safe in the app.
Variables ¶
This section is empty.
Functions ¶
func Host ¶
func Host() string
Host takes the events; MAGPIE_STATS_HOST points them elsewhere, for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.