postgres

package
v0.0.0-...-43e0c98 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 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 Config

type Config struct {
	URI string
}

Config - config

type Store

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

Store implementation of db interface

func New

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

func (*Store) LinkAdd

func (s *Store) LinkAdd(ctx context.Context, source *v1.Link) (*v1.Link, error)

func (*Store) LinkDelete

func (s *Store) LinkDelete(ctx context.Context, id string) error

LinkDelete - delete link

func (*Store) LinkUpdate

func (s *Store) LinkUpdate(ctx context.Context, source *v1.Link) (*v1.Link, error)

LinkUpdate - update link

Jump to

Keyboard shortcuts

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