This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kelp GUI: kaas mode, quit() disabled in KaaS mode, update AppName (cl…
…oses #687) (#689) * 1 - add enable-kaas mode to server command; trade.go accepts --trigger as 'ui' or 'kaas' instead of bool --ui flag - update AppName to include difference between trigger mode 'ui' and 'kaas' - disable /quit endpoint, logic, frontend button if kaas is enabled (and by default until we get server metadata) - new constants.go file (and support/constants package) * 2 - validate trigger input * 3 - log cli input flags * 4 - move log file in server to be after logging setup * 5 - log client.AppName being used in trade.go * 6 - add correct AppName in server.go for kaas trigger and log
- Loading branch information
1 parent
6ad2cde
commit 0bc17c7
Showing
9 changed files
with
115 additions
and
37 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package constants | ||
|
||
// Trigger values representing the various trigger modes of starting up a bot | ||
const ( | ||
TriggerDefault string = "" | ||
TriggerUI string = "ui" | ||
TriggerKaas string = "kaas" | ||
) |