Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppName = "go-api-base" AppVersion = getEnvOrDefault("GO_API_BASE_APP_VERSION", "1.0.0") RestPort = getEnvOrDefault("GO_API_BASE_REST_PORT", "12580") GrpcPort = getEnvOrDefault("GO_API_BASE_GRPC_PORT", "12581") PidPath = getEnvOrDefault("GO_API_BASE_PID_PATH", fmt.Sprintf("/tmp/%s.pid", AppName)) LogPath = getEnvOrDefault("GO_API_BASE_LOG_PATH", fmt.Sprintf("/tmp/%s.out", AppName)) UseMigration = true MigrationPath = getEnvOrDefault("GO_API_BASE_MIGRATION_PATH", "") LogOutput *reopen.FileWriter ExecDir = "" Env = getEnvOrDefault("ENV", "dev") )
Functions ¶
func InitializeLogging ¶
func InitializeLogging()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.