spider

package
v0.0.0-...-e2ffb22 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: BSD-2-Clause, BSD-3-Clause Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LikeGoSubFolder

func LikeGoSubFolder(folder string) bool

Types

type BoltFileCache

type BoltFileCache struct {
	bh.DB
	IncCounter func(string)
}

func (BoltFileCache) Get

func (bc BoltFileCache) Get(sign string, contents proto.Message) bool

func (BoltFileCache) Set

func (bc BoltFileCache) Set(signature string, contents proto.Message)

type FileCache

type FileCache interface {
	Get(signature string, contents proto.Message) bool
	Set(signature string, contents proto.Message)
}

type NullFileCache

type NullFileCache struct{}

func (NullFileCache) Get

func (NullFileCache) Set

type PackageStatus

type PackageStatus int
const (
	OutOfDate PackageStatus = iota
	UpToDate
)

func CheckPackageStatus

func CheckPackageStatus(pkg *gpb.PackageInfo, repo *gpb.RepoInfo) PackageStatus

func (PackageStatus) String

func (s PackageStatus) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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