Documentation
¶
Index ¶
- Constants
- func GetAPIPort() string
- func GetPrometheusPort() string
- func StatusConflictError(err error) error
- func StatusDBError(err error) error
- func StatusDuplicationError(err error) error
- func StatusEmailError(err error) error
- func StatusEmptyError(err error) error
- func StatusExpiredError(err error) error
- func StatusForbiddenError(err error) error
- func StatusLoginError(err error) error
- func StatusNotFoundError(err error) error
- func StatusOK(err error) error
- func StatusRequestError(err error) error
- func StatusServerError(err error) error
- func StatusValidationError(err error) error
- type AWSCreds
- type Auth0Creds
- type PGCreds
- type StatusErr
Constants ¶
View Source
const STATUS_CONFLICT_ERROR_CODE = http.StatusConflict
View Source
const STATUS_CONFLICT_ERROR_STRING = "conflictError"
View Source
const STATUS_DB_ERROR_CODE = http.StatusInternalServerError
View Source
const STATUS_DB_ERROR_STRING = "dbError"
View Source
const STATUS_DUPLICATION_ERROR_CODE = http.StatusConflict
View Source
const STATUS_DUPLICATION_ERROR_STRING = "duplicationError"
View Source
const STATUS_EMAIL_ERROR_CODE = http.StatusInternalServerError
View Source
const STATUS_EMAIL_ERROR_STRING = "emailError"
View Source
const STATUS_EMPTY_ERROR_CODE = http.StatusConflict
View Source
const STATUS_EMPTY_ERROR_STRING = "notEmpty"
View Source
const STATUS_EXPIRED_ERROR_CODE = http.StatusForbidden
View Source
const STATUS_EXPIRED_ERROR_STRING = "expiredError"
View Source
const STATUS_FORBIDDEN_ERROR_CODE = http.StatusForbidden
View Source
const STATUS_FORBIDDEN_ERROR_STRING = "notAllowed"
View Source
const STATUS_LOGIN_ERROR_CODE = http.StatusUnauthorized
View Source
const STATUS_LOGIN_ERROR_STRING = "loginError"
View Source
const STATUS_NOTFOUND_ERROR_CODE = http.StatusNotFound
View Source
const STATUS_NOTFOUND_ERROR_STRING = "notFound"
View Source
const STATUS_OK_CODE = http.StatusOK
View Source
const STATUS_OK_STRING = "OK"
View Source
const STATUS_REQUEST_ERROR_CODE = http.StatusBadRequest
View Source
const STATUS_REQUEST_ERROR_STRING = "badRequest"
View Source
const STATUS_SERVER_ERROR_CODE = http.StatusInternalServerError
View Source
const STATUS_SERVER_ERROR_STRING = "apiError"
View Source
const STATUS_VALIDATION_ERROR_CODE = http.StatusBadRequest
View Source
const STATUS_VALIDATION_ERROR_STRING = "validationError"
Variables ¶
This section is empty.
Functions ¶
func GetAPIPort ¶
func GetAPIPort() string
func GetPrometheusPort ¶
func GetPrometheusPort() string
func StatusConflictError ¶
func StatusDBError ¶
func StatusDuplicationError ¶
func StatusEmailError ¶
func StatusEmptyError ¶ added in v0.14.16
func StatusExpiredError ¶
func StatusForbiddenError ¶
func StatusLoginError ¶
func StatusNotFoundError ¶
func StatusRequestError ¶
func StatusServerError ¶
func StatusValidationError ¶
Types ¶
type Auth0Creds ¶ added in v0.14.3
func OPAuth0Creds ¶ added in v0.14.3
func OPAuth0Creds(op vsslib.OpHandler, opAuth0Item string) (Auth0Creds, error)
Click to show internal directories.
Click to hide internal directories.