Versions in this module Expand all Collapse all v0 v0.3.1 Jan 12, 2017 v0.3.0 Jan 11, 2017 Changes in this version + var ErrClickHouseResponse = errors.New("Malformed response from clickhouse") + var ErrUvarintOverflow = errors.New("ReadUvarint: varint overflows a 64-bit integer") + var ErrUvarintRead = errors.New("ReadUvarint: Malformed array") + func Post(ctx context.Context, dsn string, query string, postBody io.Reader, ...) ([]byte, error) + func PostGzip(ctx context.Context, dsn string, query string, postBody io.Reader, ...) ([]byte, error) + func ReadUvarint(array []byte) (uint64, int, error) + type TestHandler struct + func (h *TestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type TestRequest struct + Query []byte + type TestServer struct + func NewTestServer() *TestServer + func (srv *TestServer) Requests() []TestRequest v0.2.1 Dec 15, 2016 Changes in this version + func Escape(s string) string + func Query(ctx context.Context, dsn string, query string, timeout time.Duration) (body []byte, err error)