Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextKeySignatureData contextKey = iota ContextKeyCronName )
View Source
const ( DateOnly = "2006-01-02" DateOnlySimplified = "20060102" DateDDMMYYYYWithDash = "02-Jan-2006" DateOnlyWithAlphabetMonth = "02 January 2006" DateOnlyWithShortAlphabetMonth = "02 Jan 2006" DateTimeWithTimezone = "2006-01-02 15:04:05 -07" DateTime = "2006-01-02 15:04:05" DateTimeIso = "2006-01-02T15:04:05Z" DateTimeWithoutSecond = "2006-01-02 15:04" DateWithDayName = "Mon, 02-Jan-2006" DateTimeWithDayName = "Mon, 02-Jan-2006 15:04:05 MST" Time = "15:04:05" TimeWithoutSecond = "15:04" TimeLocalJakarta = "Asia/Jakarta" )
View Source
const ( GRPCStatusOk = "OK" GRPCStatusCancelled = "CANCELLED" GRPCStatusUnknown = "UNKNOWN" GRPCStatusInvalidArgument = "INVALID_ARGUMENT" GRPCStatusDeadlineExceeded = "DEADLINE_EXCEEDED" GRPCStatusNotFound = "NOT_FOUND" GRPCStatusAlreadyExists = "ALREADY_EXISTS" GRPCStatusPermissionDenied = "PERMISSION_DENIED" GRPCStatusResourceExhausted = "RESOURCE_EXHAUSTED" GRPCStatusFailedPrecondition = "FAILED_PRECONDITION" GRPCStatusAborted = "ABORTED" GRPCStatusOutOfRange = "OUT_OF_RANGE" GRPCStatusUnimplemented = "UNIMPLEMENTED" GRPCStatusInternal = "INTERNAL" GRPCStatusDataLoss = "DATA_LOSS" GRPCStatusUnauthenticated = "UNAUTHENTICATED" )
View Source
const ( FuncHealthCheck = "/grpc.health.v1.Health/Check" FuncGRPCCreateUserPayment = "/protos.DebtUser/CreateUserPayment" FuncGRPCCreateOrUpdateDebt = "/protos.DebtUser/CreateOrUpdateDebt" )
View Source
const ( TypeREST = "REST" TypeGRPC = "GRPC" )
View Source
const ( DefaultGRCPMaxConnectionIdle = 3 * time.Second DefaultGRPCContextWithTimeout = 3 * time.Second DefaultServerGRPCGraceTimeout = 10 * time.Second )
View Source
const ( RedisExpiry1Minute = time.Duration(1) * time.Minute RedisExpiry1Hour = time.Duration(1) * time.Hour RedisExpiry1Day = time.Duration(24) * time.Hour )
View Source
const (
DefaultServerCRONGraceTimeout = 10 * time.Second
)
View Source
const (
DefaultServerHTTPGraceTimeout = 10 * time.Second
)
View Source
const NetworkTCP = "tcp"
NetworkTCP for tcp
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.