Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fragment ¶
type Fragment struct {
// Name of the package
Name string
// Download URL for the package
URL string
}
Originally named PackageInfo, just contains some small data about the package for the download process
type PackageContext ¶
type PackageContext struct {
Shortcake *utils.ShortCache
Flags *cli.Flags
Castella *PipeFragment
}
func New ¶
func New(flags *cli.Flags, q *PipeFragment) *PackageContext
type PipeFragment ¶
Fragment & Error channels
func NewPipeFragment ¶
func NewPipeFragment(fSize, eSize int) *PipeFragment
Click to show internal directories.
Click to hide internal directories.