Documentation ¶ Index ¶ type Proxy func NewProxy(hosts []string, port int) (*Proxy, error) func (p *Proxy) Close() func (p *Proxy) SendFile(ctx context.Context, file *os.File, rowSeparator string, ...) error func (p *Proxy) StartProxy() error func (p *Proxy) Write(ctx context.Context, files []*os.File, rowSeparator string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Proxy ¶ type Proxy struct { Host string Port int // contains filtered or unexported fields } func NewProxy ¶ func NewProxy(hosts []string, port int) (*Proxy, error) func (*Proxy) Close ¶ func (p *Proxy) Close() func (*Proxy) SendFile ¶ func (p *Proxy) SendFile(ctx context.Context, file *os.File, rowSeparator string, chunkedWriter io.WriteCloser) error func (*Proxy) StartProxy ¶ func (p *Proxy) StartProxy() error func (*Proxy) Write ¶ func (p *Proxy) Write(ctx context.Context, files []*os.File, rowSeparator string) error Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.