Documentation ¶
Index ¶
- type Collection
- type Dir
- type DirInfo
- func (d *DirInfo) Close() error
- func (d *DirInfo) IsDir() bool
- func (d *DirInfo) ModTime() time.Time
- func (d *DirInfo) Mode() os.FileMode
- func (d *DirInfo) Name() string
- func (d *DirInfo) Read([]byte) (int, error)
- func (d *DirInfo) Size() int64
- func (d *DirInfo) Stat() (os.FileInfo, error)
- func (d *DirInfo) Sys() interface{}
- type PathInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
A Collection is an extensible set of assets.
func NewCollection ¶
func NewCollection() *Collection
NewCollection returns new instance of a Collection.
func (*Collection) Extend ¶
func (a *Collection) Extend(b http.FileSystem)
Extend collection with given set of assets
type Dir ¶
type Dir struct { *DirInfo // contains filtered or unexported fields }
Dir is an opened dir instance.
Click to show internal directories.
Click to hide internal directories.