db

package
v0.0.0-...-e2af5dd Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*gorm.DB
	Filename string
	Fileinfo os.FileInfo
	Filehash string
}

Client represents an active db object

func New

func New(filename string) (*Client, error)

New creates new db instance

func (*Client) Backup

func (c *Client) Backup() error

func (*Client) Vacuum

func (c *Client) Vacuum() (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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