package
Version:
v0.0.0-...-9bd82c6
Opens a new window with list of versions in this module.
Published: Oct 22, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Req struct {
URL string `map:"url" validate"required"`
Method string `map:"method" validate:"required"`
Proto string `map:"ver"`
Body []byte `map:"body"`
}
type Res struct {
Status string `map:"status"`
Code int `map:"code"`
Body []byte `map:"body"`
}
type Result struct {
Req Req `map:"req"`
Res Res `map:"res"`
}
type TransportOptions struct {
Timeout int `map:"timeout"`
MaxIdleConns int `map:"max_idle_conns"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.