repository

package
v0.0.0-...-a03c5e1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type URLDB

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

func ProvideURLDB

func ProvideURLDB(db *db.DB, tele telemetry.Telemetery, logger *zap.Logger) *URLDB

func (*URLDB) Create

func (r *URLDB) Create(ctx context.Context, url url.URL) error

func (*URLDB) FromShortURL

func (r *URLDB) FromShortURL(ctx context.Context, key string) (url.URL, error)

func (*URLDB) Update

func (r *URLDB) Update(ctx context.Context, url url.URL) error

Jump to

Keyboard shortcuts

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