service

package
v0.0.0-...-9dd7b79 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("url not found")
View Source
var ProviderSet = wire.NewSet(
	NewUrlService,
)

Functions

This section is empty.

Types

type UrlService

type UrlService interface {
	CreateOrGetUrl(ctx context.Context, url string) (*entity.URL, error)
}

func NewUrlService

func NewUrlService(logger *zap.Logger, env *config.Config, repo urlRepo.Repository) UrlService

Jump to

Keyboard shortcuts

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