Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTPPort = 80 HTTPSPort = 443 )
Variables ¶
This section is empty.
Functions ¶
func MustObserve ¶
func MustObserve()
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func HostGenerator ¶ added in v1.1.0
type ClientError ¶
type ClientError struct {
// contains filtered or unexported fields
}
func (ClientError) Alerts ¶
func (e ClientError) Alerts() alert.Alerts
func (ClientError) Error ¶
func (e ClientError) Error() string
func (ClientError) Status ¶
func (e ClientError) Status() int
func (ClientError) Unwrap ¶
func (e ClientError) Unwrap() error
type HeaderParser ¶ added in v1.1.0
type HeaderParser = func(context.Context, *fasthttp.ResponseHeader)
type JSONArrayParser ¶ added in v1.11.6
type JSONError ¶
type JSONError struct {
// contains filtered or unexported fields
}
func (JSONError) IsRecoverable ¶
type JSONObjectParser ¶ added in v1.11.6
type NetError ¶
type NetError struct {
// contains filtered or unexported fields
}
func (NetError) IsRecoverable ¶
type RequestModifier ¶
func WithStream ¶
func WithStream(stream *jsoniter.Stream) RequestModifier
type ServerError ¶
type ServerError struct {
// contains filtered or unexported fields
}
func (ServerError) Alerts ¶
func (e ServerError) Alerts() alert.Alerts
func (ServerError) Error ¶
func (e ServerError) Error() string
func (ServerError) Status ¶
func (e ServerError) Status() int
func (ServerError) Unwrap ¶
func (e ServerError) Unwrap() error
type URIModifier ¶
func WithPathSubstr ¶
func WithPathSubstr(subs ...any) URIModifier
Click to show internal directories.
Click to hide internal directories.