sessionrepo

package
v0.0.0-...-e6e2e8d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sessionrepo manages repository layer of entries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoPGS

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

RepoPGS facilitates session repository layer logic.

func NewRepoPGS

func NewRepoPGS(db dbpkg.SQLInterface) *RepoPGS

NewRepoPGS returns account RepoPGS.

func (*RepoPGS) Create

Create creates a session and then returns it.

func (*RepoPGS) Get

func (r *RepoPGS) Get(ctx context.Context, id uuid.UUID) (domain.Session, error)

Get returns session with the given id.

Jump to

Keyboard shortcuts

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