clickhouse

package
v0.0.0-...-8057f80 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 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 DB

type DB struct {
	DB    *sql.DB
	Table string
}

func InitClickhouse

func InitClickhouse(dsn, table string) (db *DB, err error)

InitClickhouse ...

func (*DB) AddSecret

func (db *DB) AddSecret(secret Secret) (err error)

AddSecret ...

func (*DB) GetSecretsInfo

func (db *DB) GetSecretsInfo(secret Secret) (secrets []Secret, err error)

GetSecretsInfo ...

type Secret

type Secret struct {
	UUID        string
	Secret      string
	Topic       string
	Channels    string
	Permissions string
	Created     time.Time
}

Secret ...

Jump to

Keyboard shortcuts

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