Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageIndex ¶
type PackageIndex struct{}
PackageIndex is pacman.PackageIndex implementation to communicate with IndexDB-based package registry on browser side.
func NewPackageIndex ¶
func NewPackageIndex() PackageIndex
func (PackageIndex) LookupPackage ¶
func (p PackageIndex) LookupPackage(pkgName string) (*module.Version, error)
func (PackageIndex) RegisterPackage ¶
func (p PackageIndex) RegisterPackage(pkg *module.Version) error
func (PackageIndex) RemovePackage ¶
func (p PackageIndex) RemovePackage(pkg *module.Version) error
Click to show internal directories.
Click to hide internal directories.