Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DebugMode indicates service mode is debug. DebugMode = "debug" // TestMode indicates service mode is test. TestMode = "test" // ReleaseMode indicates service mode is release. ReleaseMode = "release" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServiceName string Environment string // debug, test, release Version string HTTPPort string HTTPScheme string PostgresHost string PostgresPort int PostgresUser string PostgresPassword string PostgresDatabase string DefaultOffset string DefaultLimit string SecretKey string PasscodePool string PasscodeLength int ServiceHost string GRPCPort string PostgresMaxConnections int }
Click to show internal directories.
Click to hide internal directories.