clickhouse

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

clickhouse

此库为 驱动库,需要与 orm 库结合使用

orm: github.com/assembly-hub/orm

## 详情参见

github.com/assembly-hub/orm-example

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB(db driver.Conn) db.Executor

Types

type Client

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

func NewClient

func NewClient(cfg *Config) *Client

func (*Client) Connect

func (c *Client) Connect() (db.Executor, error)

type Config

type Config struct {
	clickhouse.Options
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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