database

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultConnMaxLifetime

func GetDefaultConnMaxLifetime() time.Duration

func GetDefaultInsertDurationTimeout

func GetDefaultInsertDurationTimeout() time.Duration

func GetDefaultMaxIdleConns

func GetDefaultMaxIdleConns() int

func GetDefaultMaxOpenConns

func GetDefaultMaxOpenConns() int

func IsResendAvailable

func IsResendAvailable(err error) bool

Types

type Clickhouse

type Clickhouse interface {
	Insert(context.Context, View, []buffer.RowSlice) (uint64, error)
	Close() error
}

type View

type View struct {
	Name    string
	Columns []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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