queries

package
v0.0.0-...-6528de2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(pool *pgxpool.Pool) error

Init is ...

func New

func New(pool *pgxpool.Pool) error

New is ...

Types

type Base

Base is ...

var DB *Base

type SystemQueries

type SystemQueries struct {
	*pgxpool.Pool
}

SystemQueries is ...

type TemplateQueries

type TemplateQueries struct {
	*pgxpool.Pool
}

TemplateQueries is ...

func (*TemplateQueries) Template

func (q *TemplateQueries) Template(ctx context.Context, id string) (*models.Template, error)

Template is ...

type TrustQueries

type TrustQueries struct {
	*pgxpool.Pool
}

TrustQueries is ...

func (*TrustQueries) AddAdobeTL

func (q *TrustQueries) AddAdobeTL(ctx context.Context, trust models.TrustCerts) error

AddAdobeTL is ...

func (*TrustQueries) CheckAKI

func (q *TrustQueries) CheckAKI(ctx context.Context, aki string) (*models.TrustCert, error)

CheckAKI is ...

func (*TrustQueries) ClearAdobeTL

func (q *TrustQueries) ClearAdobeTL(ctx context.Context) error

ClearAdobeTL is ...

func (*TrustQueries) DeleteAdobeTL

func (q *TrustQueries) DeleteAdobeTL(ctx context.Context, list string) error

DeleteAdobeTL is ...

func (*TrustQueries) TimeUpdateAdobeTL

func (q *TrustQueries) TimeUpdateAdobeTL(ctx context.Context) (*time.Time, error)

TimeUpdateAdobeTL is ...

Jump to

Keyboard shortcuts

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