Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigPath = "CONFIG_PATH" AppEnv = "APP_ENV" AppRootPath = "APP_ROOT" PROJECT_NAME_ENV = "PROJECT_NAME" Json = "json" GRPC = "GRPC" METHOD = "METHOD" NAME = "NAME" METADATA = "METADATA" REQUEST = "REQUEST" REPLY = "REPLY" TIME = "TIME" MaxHeaderBytes = 1 << 20 StackSize = 1 << 10 // 1 KB BodyLimit = "2M" ReadTimeout = 15 * time.Second WriteTimeout = 15 * time.Second GzipLevel = 5 WaitShotDownDuration = 3 * time.Second Dev = "development" Test = "test" Production = "production" )
View Source
const ( ErrBadRequestTitle = "Bad Request" ErrConflictTitle = "Conflict Error" ErrNotFoundTitle = "Not Found" ErrForbiddenTitle = "Forbidden" ErrRequestTimeoutTitle = "Request Timeout" ErrInternalServerErrorTitle = "Internal Server Error" ErrDomainTitle = "Domain Model Error" ErrApplicationTitle = "Application Service Error" ErrApiTitle = "Api Error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.