Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageInfo ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetMetadataServer ¶
func (*Store) GetPackageApplication ¶
func (s *Store) GetPackageApplication(path string) (v []*PackageInfo, err error)
GetPackageApplication 通过元数据服务器获取商店软件包信息,会把数据缓存在 path + .cache.json 文件中, 缓存过期时长由 expireDelay 确定。
Click to show internal directories.
Click to hide internal directories.