service

package
v0.0.0-...-b7198bb Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {

	// Addr to listen on
	Addr string
	// Certificate to use if using TLS
	Certificate *tls.Certificate
	// Queries to use
	Queries *database.Queries
	// SQL DB
	DB *sql.DB
	// contains filtered or unexported fields
}

func NewService

func NewService(addr string, certificate *tls.Certificate, queries *database.Queries, db *sql.DB) *Service

func (*Service) Close

func (s *Service) Close()

func (*Service) Open

func (s *Service) Open() error

type UserID

type UserID struct{}

Jump to

Keyboard shortcuts

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