proof

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	ID   string // mysql auto increment id
	UUID string // record unique id
	File string // absolute path to file
	Name string // filename
}

Record of a file item.

type Request

type Request struct {
	Overwrite   bool // overwrite existing files
	AllProofs   bool // parse all proofs
	HideMissing bool // ignore missing uuid files
	// contains filtered or unexported fields
}

Request proofs.

func (Request) Queries

func (request Request) Queries() error

Queries parses all new proofs. ow will overwrite any existing proof assets such as images. all parses every proof not just records waiting for approval.

func (*Request) Query

func (request *Request) Query(id string) error

Query parses a single proof.

Jump to

Keyboard shortcuts

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