Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBadRequestError ¶
func GetBadRequestError(w http.ResponseWriter)
GetBadRequestError : This is helper function to prepare bad request error.
func GetError ¶
func GetError(err error, w http.ResponseWriter)
GetError : This is helper function to prepare internal standard error.
func GetNotFoundError ¶
func GetNotFoundError(w http.ResponseWriter)
GetNotFoundError : This is helper function to prepare not found error.
Types ¶
type Configuration ¶
type Configuration struct { ServerHTTPHost string ServerGRPCHost string GoEnv string UIUrl string LogLevel string RedisAddr string RedisPassword string RedisDB string PolicyServiceEndpoint string PolicyServiceAuthorization string PolicyServiceTimeout string MetricsEnabled string }
Configuration model.
type ErrorResponse ¶
ErrorResponse : This is error model.
Click to show internal directories.
Click to hide internal directories.