packrsource

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packr

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

func NewPakrSource

func NewPakrSource(bs ...*packr.Box) *Packr

func (*Packr) Close

func (f *Packr) Close() error

func (*Packr) First

func (f *Packr) First() (version uint, err error)

func (*Packr) Next

func (f *Packr) Next(version uint) (nextVersion uint, err error)

func (*Packr) Open

func (f *Packr) Open(url string) (source.Driver, error)

func (*Packr) Prev

func (f *Packr) Prev(version uint) (prevVersion uint, err error)

func (*Packr) ReadDown

func (f *Packr) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)

func (*Packr) ReadUp

func (f *Packr) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)

Jump to

Keyboard shortcuts

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