storage

package
v0.0.0-...-3c84259 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

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

type Storage

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

func New

func New(db *pgxpool.Pool) *Storage

func (*Storage) AddUser

func (x *Storage) AddUser(userID, envID uuid.UUID) error

func (*Storage) DelUser

func (x *Storage) DelUser(userID, envID uuid.UUID) error

func (*Storage) FindEnvironmentByUser

func (x *Storage) FindEnvironmentByUser(name string) ([]eus.Environment, error)

func (*Storage) FindUserByEnvironment

func (x *Storage) FindUserByEnvironment(name string) ([]eus.User, error)

type User

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

Jump to

Keyboard shortcuts

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