ConfigIsLocalFile checks if ConfigURL scheme is file
()
| 190 | |
| 191 | // ConfigIsLocalFile checks if ConfigURL scheme is file |
| 192 | func ConfigIsLocalFile() bool { |
| 193 | if u, e := url.Parse(ConfigURL()); e == nil { |
| 194 | return u.Scheme == "file" |
| 195 | } else { |
| 196 | return false |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | func SetVaultMasterKey(masterKey string) { |
| 201 | var u *url.URL |