postgres

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

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

func New added in v0.10.1

func New(pgEndpoint string) (*Postgres, error)

func (*Postgres) Create added in v0.10.1

func (p *Postgres) Create(tl *types.TaskStateLog, t *types.Task) error

func (*Postgres) Fetch

func (p *Postgres) Fetch(taskID, projectID uint64) ([]*types.TaskStateLog, error)

func (*Postgres) ProcessedTaskID added in v0.10.1

func (p *Postgres) ProcessedTaskID(projectID uint64) (uint64, error)

func (*Postgres) UpsertProcessedTask added in v0.10.1

func (p *Postgres) UpsertProcessedTask(projectID, taskID uint64) error

Jump to

Keyboard shortcuts

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