-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is so that kbfs can remove a dependency on libkb. Leave aliases to not break existing code. Also move out KBFSLogFileName.
- Loading branch information
1 parent
f3816d3
commit 93bf060
Showing
2 changed files
with
35 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright 2018 Keybase, Inc. All rights reserved. Use of | ||
// this source code is governed by the included BSD license. | ||
|
||
package kbconst | ||
|
||
// RunMode is an enum type for the mode the Keybase app runs in. | ||
type RunMode string | ||
|
||
const ( | ||
// DevelRunMode means use devel servers. | ||
DevelRunMode RunMode = "devel" | ||
// StagingRunMode means use staging servers. | ||
StagingRunMode RunMode = "staging" | ||
// ProductionRunMode means use prod servers (default for | ||
// released apps). | ||
ProductionRunMode RunMode = "prod" | ||
// RunModeError means an error was encountered. | ||
RunModeError RunMode = "error" | ||
// NoRunMode is the nil value for RunMode. | ||
NoRunMode RunMode = "" | ||
) | ||
|
||
// KBFSLogFileName is the name of the log file for KBFS. | ||
const KBFSLogFileName = "keybase.kbfs.log" |
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