prisma

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPITokenRepository added in v0.7.0

func NewAPITokenRepository(client *db.PrismaClient, v validator.Validator) repository.APITokenRepository

func NewGetGroupKeyRunRepository added in v0.8.0

func NewGetGroupKeyRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.GetGroupKeyRunRepository

func NewGithubRepository added in v0.11.0

func NewGithubRepository(client *db.PrismaClient, v validator.Validator) repository.GithubRepository

func NewHealthRepository added in v0.13.0

func NewHealthRepository(client *db.PrismaClient, pool *pgxpool.Pool) repository.HealthRepository

func NewLogRepository added in v0.14.0

func NewLogRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.LogsRepository

func NewPrismaRepository

func NewPrismaRepository(client *db.PrismaClient, pool *pgxpool.Pool, fs ...PrismaRepositoryOpt) repository.Repository

Types

type PrismaRepositoryOpt

type PrismaRepositoryOpt func(*PrismaRepositoryOpts)

func WithLogger

func WithLogger(l *zerolog.Logger) PrismaRepositoryOpt

type PrismaRepositoryOpts

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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