Discover Packages
github.com/scrapnode/kanthor
infrastructure
sender
package
Version:
v0.0.0-...-d386c04
Opens a new window with list of versions in this module.
Published: Feb 4, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Trace bool `json:"trace" yaml:"trace" mapstructure:"trace"`
Timeout int `json:"timeout" yaml:"timeout" mapstructure:"timeout"`
Retry Retry `json:"retry" yaml:"retry" mapstructure:"retry"`
}
type Request struct {
Method string `json:"method"`
Uri string `json:"uri"`
Body []byte `json:"body"`
}
type Response struct {
Status int `json:"status"`
Uri string `json:"uri"`
Body []byte `json:"body"`
}
type Retry struct {
Count int `json:"count" yaml:"count" mapstructure:"count"`
WaitTime int `json:"wait_time" yaml:"wait_time" mapstructure:"wait_time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.