qrcx

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

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

Go to latest
Published: Jun 2, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadDump

func DownloadDump(dir string) error

Types

type Link struct {
	ShortURL, URL string
	CreationDate  time.Time
}

type ReadCloser

type ReadCloser struct {
	*Reader
	// contains filtered or unexported fields
}

func OpenDump

func OpenDump(filename string) (*ReadCloser, error)

func (*ReadCloser) Close

func (r *ReadCloser) Close() error

type Reader

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

func NewReader

func NewReader(r io.Reader) *Reader

func (*Reader) Read

func (r *Reader) Read() (*Link, error)

func (*Reader) ReadAll

func (r *Reader) ReadAll() ([]Link, error)

Jump to

Keyboard shortcuts

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