http

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SendProtocalCSV       = "csv"
	SendProtocalJson      = "json"
	SendProtocalWholeJson = "body_json"
)

Variables

This section is empty.

Functions

func NewSender

func NewSender(c conf.MapConf) (sender.Sender, error)

http sender

Types

type Sender

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

func (*Sender) Close

func (h *Sender) Close() error

func (*Sender) Name

func (h *Sender) Name() string

func (*Sender) Send

func (h *Sender) Send(data []Data) (err error)

func (*Sender) SkipDeepCopy added in v1.5.1

func (_ *Sender) SkipDeepCopy() bool

Jump to

Keyboard shortcuts

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