domain

package
v0.0.0-...-fcaf3e2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTypes

func RegisterTypes(ctx context.Context, conn *pgx.Conn) error

RegisterTypes should be run in config.AfterConnect to load custom types

Types

type DBQuerier

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

func NewQuerier

func NewQuerier(conn genericConn) *DBQuerier

NewQuerier creates a DBQuerier that implements Querier.

func (*DBQuerier) DomainOne

func (q *DBQuerier) DomainOne(ctx context.Context) (string, error)

DomainOne implements Querier.DomainOne.

type Querier

type Querier interface {
	DomainOne(ctx context.Context) (string, error)
}

Querier is a typesafe Go interface backed by SQL queries.

type QueryName

type QueryName struct{}

Jump to

Keyboard shortcuts

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