Documentation ¶
Index ¶
- type Aviator
- type Option
- func WithAssetOutputPath(path string) Option
- func WithDevMode(isDevMode bool) Option
- func WithHTMLLang(lang string) Option
- func WithLogger(l utils.Logger) Option
- func WithNullLogger() Option
- func WithNumJsVMs(numVMs int) Option
- func WithStaticAssetRoute(route string) Option
- func WithViewsPath(path string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aviator ¶
type Aviator struct {
// contains filtered or unexported fields
}
func NewAviator ¶
func (*Aviator) GetStaticAsset ¶
GetStaticAsset returns a byte array contents of the static asset and a boolean indicating whether the static asset was found
type Option ¶
type Option func(config *Aviator)
func WithAssetOutputPath ¶
func WithDevMode ¶
func WithHTMLLang ¶
func WithLogger ¶
func WithNullLogger ¶
func WithNullLogger() Option
func WithNumJsVMs ¶
func WithStaticAssetRoute ¶
func WithViewsPath ¶
Click to show internal directories.
Click to hide internal directories.