repository

package
v0.0.0-...-2bd5d14 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QUERY_InsertUser = "INSERT INTO test (firstname, lastname, patronymic) VALUES ($1, $2, $3) RETURNING id"
)
View Source
const (
	REDIS_TTL = 30 * time.Second
)
View Source
const TracerName string = "repository"

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func New

func New(db *database.Client, rabbitmq rabbitmq.RabbitMQClient, redis *redis.Client, logger logger.Logger) *Repository

func (*Repository) CreateUser

func (*Repository) Files

Jump to

Keyboard shortcuts

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