clickhouse

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestHandler

type TestHandler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*TestHandler) ServeHTTP

func (h *TestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type TestResponse

type TestResponse struct {
	Headers map[string]string
	Body    []byte
	Code    int
}

type TestServer

type TestServer struct {
	*httptest.Server
	// contains filtered or unexported fields
}

func NewTestServer

func NewTestServer() *TestServer

func (*TestServer) AddResponce

func (s *TestServer) AddResponce(request string, response *TestResponse)

func (*TestServer) Queries

func (s *TestServer) Queries() uint64

Jump to

Keyboard shortcuts

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