vssvar

package
v0.16.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 StatusConflictError(err error) error

func StatusDBError

func StatusDBError(err error) error

func StatusDuplicationError

func StatusDuplicationError(err error) error

func StatusEmailError

func StatusEmailError(err error) error

func StatusEmptyError added in v0.14.16

func StatusEmptyError(err error) error

func StatusExpiredError

func StatusExpiredError(err error) error

func StatusForbiddenError

func StatusForbiddenError(err error) error

func StatusLoginError

func StatusLoginError(err error) error

func StatusNotFoundError

func StatusNotFoundError(err error) error

func StatusOK

func StatusOK(err error) error

func StatusRequestError

func StatusRequestError(err error) error

func StatusServerError

func StatusServerError(err error) error

func StatusValidationError

func StatusValidationError(err error) error

Types

type AWSCreds added in v0.13.8

type AWSCreds struct {
	ID     string
	Key    string
	Region string
}

func OPAWSCreds added in v0.13.8

func OPAWSCreds(op vsslib.OpHandler, opAWSItem string) (AWSCreds, error)

type Auth0Creds added in v0.14.3

type Auth0Creds struct {
	Domain string
	Client string
	Secret string
}

func OPAuth0Creds added in v0.14.3

func OPAuth0Creds(op vsslib.OpHandler, opAuth0Item string) (Auth0Creds, error)

type PGCreds added in v0.13.8

type PGCreds struct {
	Host string
	Port string
	User string
	Pass string
	Name string
}

func OPPGCreds added in v0.13.9

func OPPGCreds(op vsslib.OpHandler, opPGItem string) (PGCreds, error)

type StatusErr

type StatusErr struct {
	// contains filtered or unexported fields
}

func (*StatusErr) Code

func (r *StatusErr) Code() int

func (*StatusErr) Error

func (r *StatusErr) Error() string

func (*StatusErr) Unwrap

func (r *StatusErr) Unwrap() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL