Documentation
¶
Overview ¶
Package share issues revocable read-only share links — show your traffic to a cofounder or investor without giving them a login. Tokens are 128-bit random, stored ONLY as sha256 hashes (a leaked sidecar file can't mint access), and scope to the web overview: no actions, no settings, no raw events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
ID string `json:"id"`
Name string `json:"name"` // who it's for, e.g. "investor update"
Hash string `json:"hash"` // sha256(token), hex
Created time.Time `json:"created"`
}
Link is one share grant (the raw token is returned once at creation, never stored).
Click to show internal directories.
Click to hide internal directories.