depot

package
v0.0.0-...-d39f515 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Depot

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

func New

func New() *Depot

func (*Depot) ClickHouse

func (dp *Depot) ClickHouse() *gorm.DB

func (*Depot) HttpClient

func (dp *Depot) HttpClient() *http.Client

func (*Depot) Postgres

func (dp *Depot) Postgres() *gorm.DB

func (*Depot) RabbitMq

func (dp *Depot) RabbitMq() *rabbitmq.RabbitMq

func (*Depot) Redis

func (dp *Depot) Redis() *redis.Client

func (*Depot) WithPostgresTransaction

func (dp *Depot) WithPostgresTransaction(f func(*Depot) error, opts ...*sql.TxOptions) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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