Documentation
¶
Index ¶
- func Delete(contextName string) error
- func Exists(contextName string) bool
- func FmtFilename(contextName string) string
- func GetAll() map[string]Entry
- func ModTime(contextName string) (time.Time, error)
- func ReconnectError(srcErr error, contextName string) error
- func Save(contextName string, token Entry) error
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtFilename ¶
func ReconnectError ¶
ReconnectError says a cached token could not be used, and names the command that renews it.
That command is always ox, whichever program is reporting: only ox manages the client contexts, so an om reading a context whose token expired is fixed with ox too.
Types ¶
type Entry ¶
Click to show internal directories.
Click to hide internal directories.