Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTLSConfigGlobal ¶
GetTLSConfigGlobal return the pointer to global config
func SetInsuredGlobal ¶
func SetInsuredGlobal()
func SetRootCAs ¶
Types ¶
type Error ¶ added in v1.6.3
type Error struct { Code StatusCode Message string Data interface{} `json:"data,omitempty"` }
func BadRequest ¶ added in v1.6.3
func InternalServerError ¶ added in v1.6.3
func ServiceUnavailable ¶ added in v1.6.3
type Response ¶
func (Response) Trim ¶
func (t Response) Trim() ResponseJSON
type ResponseJSON ¶
type StatusCode ¶ added in v1.6.3
type StatusCode int
StatusCode A http status code
func (StatusCode) String ¶ added in v1.6.3
func (c StatusCode) String() string
Click to show internal directories.
Click to hide internal directories.