Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostConfig ¶
type PostConfig struct {
URL string
Headers map[string]string
Query string
Variables map[string]interface{}
Logger *zap.SugaredLogger
}
func (*PostConfig) Post ¶
func (p *PostConfig) Post() (interface{}, error)
func (*PostConfig) PostRetry ¶
func (p *PostConfig) PostRetry(count int, delay int) (interface{}, error)
func (*PostConfig) SetupUserAgent ¶
func (p *PostConfig) SetupUserAgent(userAgent string)
Click to show internal directories.
Click to hide internal directories.