Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container interface {
Len() int64
FS() Filesystem
Load(name string) chan struct{}
Unload(name string) (bool, error)
LoadAll(names []string) (progress chan float64, done chan struct{})
UnloadAll()
Get(name string) ([]byte, error)
GetImage(name string) (image.Image, error)
GetAtlas(name string) (*Atlas, error)
}
func NewContainer ¶
func NewContainer(ctx context.Context, fs Filesystem) Container
Click to show internal directories.
Click to hide internal directories.