clickhouse

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clickhouse

type Clickhouse struct {
	// Name of the datasource
	Name string `json:"name" yaml:"name" hcl:"name,label"`
	// Host connection value
	Host string `json:"host" yaml:"host" hcl:"host"`
	// Port connection value
	Port int `json:"port" yaml:"port" hcl:"port"`
	// Username connection value
	Username string `json:"username" yaml:"username" hcl:"username"`
	// Password connection value
	Password string `json:"password" yaml:"password" hcl:"password,optional"`
	// Database connection value
	Database string `json:"database" yaml:"database" hcl:"database"`
	// SSLCertPath connection value
	SSLCertPath string `json:"sslCertPath" yaml:"sslCertPath" hcl:"sslCertPath,optional"`
	// Timeout connection value
	Timeout int `json:"timeout" yaml:"timeout" hcl:"timeout,optional"`
}

Clickhouse datasource config

func (Clickhouse) Validate

func (cfg Clickhouse) Validate() error

Validate config

Jump to

Keyboard shortcuts

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