github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbconst/constants.go (about) 1 // Copyright 2018 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 4 package kbconst 5 6 // RunMode is an enum type for the mode the Keybase app runs in. 7 type RunMode string 8 9 const ( 10 // DevelRunMode means use devel servers. 11 DevelRunMode RunMode = "devel" 12 // StagingRunMode means use staging servers. 13 StagingRunMode RunMode = "staging" 14 // ProductionRunMode means use prod servers (default for 15 // released apps). 16 ProductionRunMode RunMode = "prod" 17 // RunModeError means an error was encountered. 18 RunModeError RunMode = "error" 19 // NoRunMode is the nil value for RunMode. 20 NoRunMode RunMode = "" 21 ) 22 23 // KBFSLogFileName is the name of the log file for KBFS. 24 const KBFSLogFileName = "keybase.kbfs.log"