services

package
v0.0.0-...-adc1c8a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasketService

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

func NewBasketService

func NewBasketService(db *redis.Client) *BasketService

func (*BasketService) Delete

func (s *BasketService) Delete(ctx context.Context, id uuid.UUID) error

func (*BasketService) Get

func (s *BasketService) Get(ctx context.Context, id uuid.UUID) (*models.Basket, error)

func (*BasketService) Set

func (s *BasketService) Set(ctx context.Context, basket *models.Basket) error

type HealthService

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

func NewHealthService

func NewHealthService(db *redis.Client) *HealthService

func (*HealthService) Ping

func (s *HealthService) Ping(ctx context.Context) error

Jump to

Keyboard shortcuts

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