postgresql

package
v0.0.0-...-da8027b Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoAffectedRows = errors.New("no affected rows")
)

Functions

This section is empty.

Types

type Store

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

func New

func New(pool *pgxpool.Pool) *Store

func (*Store) Append

func (s *Store) Append(ctx context.Context, p *group.Process) error

func (*Store) Load

func (s *Store) Load(ctx context.Context, gt group.Type, pid group.PID) (*group.Process, error)

func (*Store) Remove

func (s *Store) Remove(ctx context.Context, pid group.PID) error

func (*Store) Save

func (s *Store) Save(ctx context.Context, p *group.Process) error

Jump to

Keyboard shortcuts

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