Versions in this module Expand all Collapse all v1 v1.4.1 Jan 4, 2025 v1.4.1-rc2 Jan 4, 2025 v1.4.1-rc1 Jan 4, 2025 v1.4.0 Dec 8, 2024 v1.4.0-rc4 Dec 8, 2024 v1.4.0-rc3 Dec 8, 2024 v1.4.0-rc2 Dec 6, 2024 v1.4.0-rc1 Dec 6, 2024 v1.3.0 Oct 31, 2024 v1.3.0-rc1 Nov 4, 2024 v1.2.0 Aug 21, 2024 v1.1.0 Jul 12, 2024 v1.0.2 Jun 7, 2024 Changes in this version + func AuthFieldSpecsExpanded() []*service.ConfigField + func ConfigField(defaultVerb string, forOutput bool, extraChildren ...*service.ConfigField) *service.ConfigField + type Client struct + func NewClientFromOldConfig(conf OldConfig, mgr *service.Resources, opts ...RequestOpt) (*Client, error) + func (h *Client) Close(ctx context.Context) error + func (h *Client) ResponseToBatch(res *http.Response) (service.MessageBatch, error) + func (h *Client) Send(ctx context.Context, sendMsg service.MessageBatch) (service.MessageBatch, error) + func (h *Client) SendToResponse(ctx context.Context, sendMsg service.MessageBatch) (res *http.Response, err error) + type ErrUnexpectedHTTPRes struct + Body []byte + Code int + S string + func (e ErrUnexpectedHTTPRes) Error() string + type MultipartExpressions struct + Body *service.InterpolatedString + ContentDisposition *service.InterpolatedString + ContentType *service.InterpolatedString + type OldConfig struct + BackoffOn []int + DropOn []int + DumpRequestLogLevel string + ExtractMetadata *service.MetadataFilter + Headers map[string]*service.InterpolatedString + MaxBackoff time.Duration + Metadata *service.MetadataFilter + NumRetries int + ProxyURL string + RateLimit string + Retry time.Duration + SuccessfulOn []int + TLSConf *tls.Config + TLSEnabled bool + Timeout time.Duration + URL *service.InterpolatedString + Verb string + func ConfigFromParsed(pConf *service.ParsedConfig) (conf OldConfig, err error) + type RequestCreator struct + func RequestCreatorFromOldConfig(conf OldConfig, mgr *service.Resources, opts ...RequestOpt) (*RequestCreator, error) + func (r *RequestCreator) Create(refBatch service.MessageBatch) (req *http.Request, err error) + type RequestOpt func(r *RequestCreator) + func WithExplicitBody(e *service.InterpolatedString) RequestOpt + func WithExplicitMultipart(m []MultipartExpressions) RequestOpt