Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColumnSeparatorComma = "," HeaderColumns = "columns" HeaderEnclose = "enclose" HeaderMaxRilterRatio = "max_filter_ratio" HeaderSkipHeader = "skip_header" EncloseDoubleQuotes = "\"" MaxFilterRatioDefault = "1" APISlugStreamLoad = "_stream_load" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
SimpClient httpsimple.Client
}
func (Client) StreamLoad ¶
func (c Client) StreamLoad(opts StreamLoadOpts) (*http.Response, error)
type StreamLoadOpts ¶
type StreamLoadOpts struct { Columns []string ColumnSeparator string Enclose string Expect string // -H "Expect:100-continue" \ Filename string Label string MaxFilterRatio uint SkipHeader bool Database string Table string }
func (StreamLoadOpts) Header ¶
func (opts StreamLoadOpts) Header() http.Header
Click to show internal directories.
Click to hide internal directories.