_default

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultSender

type DefaultSender struct {
	// contains filtered or unexported fields
}

func New

func New() *DefaultSender

func (*DefaultSender) AddProgress

func (s *DefaultSender) AddProgress(count int)

func (*DefaultSender) Client

func (s *DefaultSender) Client() *http.Client

func (*DefaultSender) Progress

func (s *DefaultSender) Progress() <-chan int

func (*DefaultSender) Send

func (s *DefaultSender) Send(batch []byte) error

func (*DefaultSender) WithHeaders

func (s *DefaultSender) WithHeaders(headers map[string]string) *DefaultSender

func (*DefaultSender) WithURL

func (s *DefaultSender) WithURL(httpURL string) (*DefaultSender, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL