engine/types/env.go

16 lines
370 B
Go
Raw Normal View History

2024-02-11 01:31:01 +08:00
package types
const (
Run_Time_Mode_Dev = iota
Run_Time_Mode_Test
Run_Time_Mode_Pre
Run_Time_Mode_Product
)
type MeshEnv struct {
Workspace string // MESH workspacedefault:bsm
Prefix string // MESH prefixdefault:/usr/local/mesh/
JwtSecretKey string // jwt Secret Keydefault:
RuntimeMode string // Runtime Mode String: dev/test/pre/product
}