clickhouse_plus

package
v0.0.0-...-d2770bb Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(cfg Info) (*sqlx.DB, error)

Open 获取数据库连接

Types

type Info

type Info struct {
	Host     string `json:"host"`
	Port     string `json:"port"`
	Database string `json:"db"`
	Username string `json:"username"`
	Password string `json:"password"`
	Debug    bool   `json:"debug"`
}

Info Clickhouse 初始化连接信息对象

Jump to

Keyboard shortcuts

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