Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogRequest = 1 LogResponse = 2 NoLogError = 4 ErrorLogToInfo = 8 NoLogNotAuthorized = 16 NoLogPermissionDenied = 32 NoLogBadStatus = 64 )
Variables ¶
This section is empty.
Functions ¶
func Object2UrlValues ¶ added in v1.0.9
Types ¶
type BasicAuthCredsSt ¶
type OptionsSt ¶
type OptionsSt struct { Client *http.Client Uri string Method string Params url.Values Headers http.Header BasicAuthCreds *BasicAuthCredsSt LogFlags int LogPrefix string RetryCount int RetryInterval time.Duration Timeout time.Duration ReqClose bool ReqStream io.Reader ReqBody []byte ReqObj any RepStream bool RepObj any StatusRepObj map[int]any }
func (*OptionsSt) GetMergedWith ¶
func (*OptionsSt) HasLogFlag ¶ added in v1.1.18
Click to show internal directories.
Click to hide internal directories.