Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles GitHub Copilot token exchange and caching.
func New ¶
New creates a Manager, loads the GitHub PAT from auth.json. Deprecated: use NewWithDirs for XDG-aware path resolution.
func NewWithDirs ¶ added in v1.1.0
NewWithDirs creates a Manager using explicit state and data directories.
func (*Manager) StartRefresher ¶
StartRefresher launches a background goroutine that proactively refreshes the token.
Click to show internal directories.
Click to hide internal directories.