endpoints

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package config provides the web server endpoints.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

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

func New

func New(
	ctx context.Context,
	cfg *config.Config,
	assetStore *assets.Store,
	db *db.DB,
	wallet *xmr.Client,
	parentLogger *slog.Logger,
) *Endpoints

func (*Endpoints) Serve

func (eps *Endpoints) Serve(ctx context.Context) error

Jump to

Keyboard shortcuts

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