datastore

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(path, database string) error

func NewDatastore

func NewDatastore(path string) (*sql.DB, error)

Types

type Credentials

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

func NewCredentials

func NewCredentials(db *sql.DB) Credentials

func (Credentials) All

func (c Credentials) All() ([]models.Record, error)

func (Credentials) Save

func (c Credentials) Save(project, target, username, password string) error

Jump to

Keyboard shortcuts

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