handlers

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouse added in v1.0.10

type ClickHouse interface {
	GetClickHouse() (clickhouse.Conn, error)
	ShutdownClickHouse() error
}

type ClickHouseHandler added in v1.0.10

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

func (*ClickHouseHandler) GetClickHouse added in v1.0.10

func (h *ClickHouseHandler) GetClickHouse() (ch clickhouse.Conn, err error)

func (*ClickHouseHandler) ShutdownClickHouse added in v1.1.11

func (h *ClickHouseHandler) ShutdownClickHouse() (err error)

type Kafka added in v1.0.10

type Kafka interface {
	GetKafka(string) (*kgo.Client, error)
	ShutdownKafka() error
}

type KafkaHandler added in v1.0.10

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

func (*KafkaHandler) GetKafka added in v1.0.10

func (h *KafkaHandler) GetKafka(group string) (kafka *kgo.Client, err error)

func (*KafkaHandler) ShutdownKafka added in v1.1.11

func (h *KafkaHandler) ShutdownKafka() (err error)

type Postgres added in v1.0.10

type Postgres interface {
	GetPostgres() (*gorm.DB, error)
	ShutdownPostgres() error
}

type PostgresHandler added in v1.0.10

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

func (*PostgresHandler) GetPostgres added in v1.1.11

func (h *PostgresHandler) GetPostgres() (db *gorm.DB, err error)

func (*PostgresHandler) ShutdownPostgres added in v1.1.11

func (h *PostgresHandler) ShutdownPostgres() (err error)

type Redis

type Redis interface {
	GetRedis() redis.UniversalClient
	ShutdownRedis() error
}

type RedisHandler

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

func (*RedisHandler) GetRedis

func (h *RedisHandler) GetRedis() redis.UniversalClient

func (*RedisHandler) ShutdownRedis added in v1.1.11

func (h *RedisHandler) ShutdownRedis() (err error)

type YandexDB added in v1.1.13

type YandexDB interface {
	GetYandexDB() (*ydb.Driver, error)
	ShutdownYandexDB() error
}

type YandexDBHandler added in v1.1.13

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

func (*YandexDBHandler) GetYandexDB added in v1.1.13

func (h *YandexDBHandler) GetYandexDB(ctx context.Context) (db *ydb.Driver, err error)

func (*YandexDBHandler) ShutdownYandexDB added in v1.1.13

func (h *YandexDBHandler) ShutdownYandexDB(ctx context.Context) (err error)

Jump to

Keyboard shortcuts

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