Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StaticWebPkg ¶
type StaticWebPkg struct {
// contains filtered or unexported fields
}
StaticWebPkg implements WebPkg with static information.
func NewStaticWebPkg ¶
func NewStaticWebPkg( info *web_pkg.WebPkgInfo, getFsHandle func(ctx context.Context) (*unixfs.FSHandle, error), ) (*StaticWebPkg, error)
NewStaticWebPkg constructs a new static WebPkg.
func (*StaticWebPkg) GetInfo ¶
func (p *StaticWebPkg) GetInfo(ctx context.Context) (*web_pkg.WebPkgInfo, error)
GetInfo implements web_pkg.WebPkg.
func (*StaticWebPkg) GetWebPkgFsHandle ¶
GetWebPkgFsHandle implements web_pkg.WebPkg.
Click to show internal directories.
Click to hide internal directories.