postgresql

package
v0.0.0-...-00d00b2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func New

func New(client postgresqlClient, logger zerolog.Logger) *Repository

func (*Repository) Create

func (r *Repository) Create(ctx context.Context, m map[string]interface{}) (session *model.Storage, err error)

func (*Repository) DeleteByToken

func (r *Repository) DeleteByToken(ctx context.Context, token string) (err error)

func (*Repository) SessionByToken

func (r *Repository) SessionByToken(ctx context.Context, token string) (session *model.Storage, err error)

Jump to

Keyboard shortcuts

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