Add basic username/password authentication

This commit is contained in:
WithoutPants
2019-07-28 19:36:52 +10:00
parent 4f016ab3c9
commit 5a891d00cf
18 changed files with 1043 additions and 11 deletions

View File

@@ -15,6 +15,10 @@ type ConfigGeneralInput struct {
DatabasePath *string `json:"databasePath"`
// Path to generated files
GeneratedPath *string `json:"generatedPath"`
// Username
Username *string `json:"username"`
// Password
Password *string `json:"password"`
}
type ConfigGeneralResult struct {
@@ -24,6 +28,10 @@ type ConfigGeneralResult struct {
DatabasePath string `json:"databasePath"`
// Path to generated files
GeneratedPath string `json:"generatedPath"`
// Username
Username string `json:"username"`
// Password
Password string `json:"password"`
}
// All configuration settings