client

package
v0.0.0-...-c60c99b Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Database *sql.DB
}

func New

func New(cfg Config) (_cli *Client, err error)

type Config

type Config struct {
	Addr     string          `help:"The address to listen on" default:":8080" env:"ADDR"`
	Database database.Config `embed:""`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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