-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a622a06
commit e6175ac
Showing
12 changed files
with
358 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
package request | ||
|
||
type Site struct { | ||
Title string `json:"title,omitempty"` | ||
Description string `json:"description,omitempty"` | ||
} | ||
|
||
type Container struct { | ||
ParallelLimit int64 `json:"parallel_limit,omitempty"` | ||
RequestLimit int64 `json:"request_limit,omitempty"` | ||
} | ||
|
||
type User struct { | ||
AllowRegistration bool `json:"allow_registration,omitempty"` | ||
} | ||
import "github.com/elabosak233/cloudsdale/internal/app/config" | ||
|
||
type ConfigUpdateRequest struct { | ||
Site Site `json:"site,omitempty"` | ||
Container Container `json:"container,omitempty"` | ||
User User `json:"user,omitempty"` | ||
config.PlatformCfg | ||
} |
Oops, something went wrong.