postgres

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 9 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 ...

type Store

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

Store implementation of db interface

func New

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

New ...

func (*Store) LinkAdd

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

LinkAdd ...

func (*Store) LinkDelete

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

LinkDelete ...

func (*Store) LinkUpdate

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

LinkUpdate ...

func (*Store) MetadataUpdate

func (s *Store) MetadataUpdate(ctx context.Context, in *v1.Meta) (*v1.Meta, error)

LinkUpdate ...

Jump to

Keyboard shortcuts

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