package
0.0.0-20240117124239-02374a70aa8d
Repository: https://github.com/pubmatic-openwrap/prebid-cache.git
Documentation: pkg.go.dev

# Functions

GenerateRandomID generates a "github.com/gofrs/uuid" UUID.
GetServerName Generates server name from node and pod name in K8S environment.
NewPBCError returns an error with either a custom error message or not.

# Constants

PUT http.StatusBadRequest 400.
The following numeric constants serve as configuration defaults.
HTTPDependencyTimeout is the status code for errors due to a downstream dependency timeout.
These strings are prefixed onto data put in the backend, to designate its type.
GET http.StatusNotFound 404.
GET http.StatusNotFound 404.
PUT http.StatusBadRequest 400.
PUT http.StatusInternalServerError 500.
GET http.StatusBadRequest 400.
PUT http.StatusBadRequest 400.
PUT http.StatusBadRequest 400.
PUT http.StatusBadRequest 400.
PUT HttpDependencyTimeout 597.
PUT http.StatusInternalServerError 500.
PUT http.StatusBadRequest 400.
The following numeric constants serve as configuration defaults.
PUT http.StatusBadRequest 400.
The following numeric constants serve as configuration defaults.
The following numeric constants serve as configuration defaults.
The following numeric constants serve as configuration defaults.
The following numeric constants serve as configuration defaults.
GET http.StatusInternalServerError 500.
PUT http.StatusBadRequest 400.
These strings are prefixed onto data put in the backend, to designate its type.

# Structs

PBCError implements the error interface.