Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NODE_ENV = "" RETRO_CMD = "" RETRO_WWW_DIR = "" RETRO_SRC_DIR = "" RETRO_OUT_DIR = "" )
Functions ¶
Types ¶
type App ¶
type App struct {
// Use an empty interface because Go doesn't support type unions
Command interface{}
}
func (*App) Build ¶
func (a *App) Build(options BuildOptions) error
func (*App) Dev ¶
func (a *App) Dev(options DevOptions) error
func (*App) Serve ¶
func (a *App) Serve(options ServeOptions) error
type BuildOptions ¶
type BuildOptions struct {
WarmUpFlag bool
}
type BundleInfo ¶
type BundleInfo struct { Metafile map[string]interface{} Errors []api.Message Warnings []api.Message }
func (BundleInfo) HTML ¶
func (b BundleInfo) HTML() string
func (BundleInfo) IsDirty ¶
func (b BundleInfo) IsDirty() bool
func (BundleInfo) String ¶
func (b BundleInfo) String() string
type CommandKind ¶
type CommandKind string
var ( KindDevCommand CommandKind = "dev" KindBuildCommand CommandKind = "build" KindServeCommand CommandKind = "serve" )
type DevOptions ¶
type DevOptions struct {
WarmUpFlag bool
}
type EntryPointError ¶
type EntryPointError struct {
// contains filtered or unexported fields
}
func (EntryPointError) Error ¶
func (e EntryPointError) Error() string
type Message ¶
type Message struct { VendorInfo BundleInfo ClientInfo BundleInfo }
type ServeOptions ¶
type ServeOptions struct { WarmUpFlag bool Dev chan TimedMessage }
type TimedMessage ¶
type TimedMessage struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.