Documentation ¶
Overview ¶
Package github.com/growler/go-imbed/imbed
Index ¶
- func Imbed(source, target, pkgName string, flags ImbedFlag) error
- type ImbedFlag
- func (f ImbedFlag) BuildFsAPI() bool
- func (f ImbedFlag) BuildHttpFsAPI() bool
- func (f ImbedFlag) BuildHttpHandlerAPI() bool
- func (f ImbedFlag) BuildMain() bool
- func (f ImbedFlag) BuildRawBytesAPI() bool
- func (f ImbedFlag) BuildUnionFsAPI() bool
- func (f ImbedFlag) CompressAssets() bool
- func (f ImbedFlag) Set(s ImbedFlag, c bool) ImbedFlag
- func (f ImbedFlag) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImbedFlag ¶ added in v1.1.0
type ImbedFlag int
const ( // Compress assets whenever possible CompressAssets ImbedFlag = 1 << iota // Build FileSystem API BuildFsAPI // Build union FileSystem API (implies BuildFsAPI) BuildUnionFsAPI // Build http.FileSystem API (implies BuildFsAPI) BuildHttpFsAPI // Build http.Server handler API BuildHttpHandlerAPI // Build raw data access API (dangerous) BuildRawBytesAPI // Build main function (implies BuildHttpHandlerAPI and BuildFsAPI) BuildMain )
func (ImbedFlag) BuildFsAPI ¶ added in v1.1.0
func (ImbedFlag) BuildHttpFsAPI ¶ added in v1.1.0
func (ImbedFlag) BuildHttpHandlerAPI ¶ added in v1.1.0
func (ImbedFlag) BuildRawBytesAPI ¶ added in v1.1.0
func (ImbedFlag) BuildUnionFsAPI ¶ added in v1.1.0
func (ImbedFlag) CompressAssets ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.