Documentation ¶
Index ¶
- Constants
- Variables
- func Config(c *config.Config, lc logging.Config)
- func GetFileSha256AndLen(repo, file string) ([]byte, uint64)
- func GetRepoData(repo, file string) ([]byte, bool, error)
- func GetRepoPath(repo string) string
- func ReloadRepo(repo string, arch string)
- func StartUpdServer()
- type Pkg
- type RepoFile
- type Repository
Constants ¶
View Source
const (
PKG_LIST = "index.plist"
)
Variables ¶
Functions ¶
func GetFileSha256AndLen ¶
func GetRepoPath ¶
func ReloadRepo ¶
func StartUpdServer ¶
func StartUpdServer()
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func (*Repository) LoadDB ¶
func (r *Repository) LoadDB() error
Click to show internal directories.
Click to hide internal directories.