Versions in this module Expand all Collapse all v0 v0.7.0 Jul 9, 2026 Changes in this version + func NormalizeTrustedHost(host string) (string, error) + type AuthConfig interface + ActiveToken func(hostname string) (string, string) + ActiveUser func(hostname string) (string, error) + DefaultHost func() (string, string) + HasActiveToken func(hostname string) bool + Hosts func() []string + Login func(hostname, username, token, gitProtocol string, secureStorage bool) (bool, error) + Logout func(hostname, username string) error + StoredToken func(hostname string) (string, string) + SwitchUser func(hostname, user string) error + type Config interface + Authentication func() AuthConfig + Browser func(host string) ConfigEntry + Editor func(host string) ConfigEntry + Get func(host, key string) (string, error) + GitProtocol func(host string) ConfigEntry + Pager func(host string) ConfigEntry + Set func(host, key, value string) error + Write func() error + func New() Config + type ConfigEntry struct + Source string + Value string