MCPcopy Create free account
hub / github.com/Mister-leo/fssh / modeConfig

Struct modeConfig

internal/auth/auth.go:73–77  ·  view source on GitHub ↗

modeConfig 认证模式配置文件结构

Source from the content-addressed store, hash-verified

71
72// modeConfig 认证模式配置文件结构
73type modeConfig struct {
74 Version string `json:"version"`
75 Mode AuthMode `json:"mode"`
76 CreatedAt string `json:"created_at"`
77}
78
79// LoadMode 加载当前认证模式
80// 读取 ~/.fssh/auth_mode.json,如果不存在则根据 Keychain 自动检测

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected