modeConfig 认证模式配置文件结构
| 71 | |
| 72 | // modeConfig 认证模式配置文件结构 |
| 73 | type 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 自动检测 |
nothing calls this directly
no outgoing calls
no test coverage detected