Documentation
¶
Index ¶
- func OnFallbackToFsBox_Default(packedBoxCandidateFilename string, bases []string, fsBox Box) error
- func OnFallbackToFsBox_Fail(packedBoxCandidateFilename string, bases []string, fsBox Box) error
- func OnFallbackToFsBox_Warn(packedBoxCandidateFilename string, bases []string, fsBox Box) error
- type Box
- type CombinedBox
- type OnFallbackToFsBoxFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnFallbackToFsBox_Default ¶
noinspection GoSnakeCaseUsage
func OnFallbackToFsBox_Fail ¶
noinspection GoSnakeCaseUsage
Types ¶
type Box ¶
type Box interface { io.Closer Open(name string) (common.File, error) Info(pathname string) (os.FileInfo, error) }
func OpenPackedBox ¶
type CombinedBox ¶
type CombinedBox []Box
func (CombinedBox) Close ¶
func (instance CombinedBox) Close() error
func (CombinedBox) With ¶
func (instance CombinedBox) With(box Box) CombinedBox
type OnFallbackToFsBoxFunc ¶
var ( // This variable could easily set while build time using: // go build -ldflags="-X github.com/echocat/goxr.AllowFallbackToFsBox=false" . // This is useful in case for behave differently for build versions of you application AllowFallbackToFsBox = true OnFallbackToFsBox OnFallbackToFsBoxFunc = OnFallbackToFsBox_Default )
Click to show internal directories.
Click to hide internal directories.