mysql

package
v0.0.0-...-34297c9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(ctx context.Context, store db.DB) (*Store, error)

New store

func (Store) Add

func (s Store) Add(ctx context.Context, in *domain.Link) (*domain.Link, error)

func (Store) Delete

func (s Store) Delete(ctx context.Context, hash string) error

func (Store) Get

func (s Store) Get(ctx context.Context, hash string) (*domain.Link, error)

func (Store) List

func (s Store) List(ctx context.Context, _ *types.FilterLink) (*domain.Links, error)

func (Store) Update

func (s Store) Update(ctx context.Context, in *domain.Link) (*domain.Link, error)

Directories

Path Synopsis
schema

Jump to

Keyboard shortcuts

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