Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAuthFileMode = constants.PrivateFileMode
Variables ¶
This section is empty.
Functions ¶
func AuthFilePath ¶
func IsLegacySchemaError ¶
func SaveAuthStore ¶
func SetAuthFilePathForTest ¶
func SetAuthFilePathForTest(authPath string) func()
func WritePrivateFile ¶
Types ¶
type Account ¶
type AuthStore ¶
type AuthStore struct {
DefaultUserID int64 `json:"default_user_id,omitempty"`
Accounts []Account `json:"accounts,omitempty"`
}
func LoadAuthStore ¶
type LegacySchemaError ¶
type LegacySchemaError struct {
Field string
}
func (LegacySchemaError) Error ¶
func (e LegacySchemaError) Error() string
Click to show internal directories.
Click to hide internal directories.