go.bigb.es/cacher/cmd

go.bigb.es/cacher @ v0.1.0 — 176b6cb9 2 months ago

import "go.bigb.es/cacher/cmd"

Variables

var (
	ErrNotFound       = errors.New("cacher: key not found")
	ErrMissNoFallback = errors.New("cacher: cache miss and no --url fallback")
)

Sentinel errors recognized by Execute → exit code mapping.

exists → ErrNotFound → 1 download without --url, key missing → ErrMissNoFallback → 3 any other error → 2

Functions

f func Execute

src
func Execute()

Source files