Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppOptions ¶
type AppOptions struct {
Debug bool
}
type BinaryFileSystem ¶
type BinaryFileSystem struct { Root string Fs http.FileSystem }
func NewBinaryFileSystem ¶
func NewBinaryFileSystem(root string) *BinaryFileSystem
func (*BinaryFileSystem) CreateServer ¶
func (b *BinaryFileSystem) CreateServer() http.Handler
func (*BinaryFileSystem) CreateTemplate ¶
func (b *BinaryFileSystem) CreateTemplate(path string) (*template.Template, error)
func (*BinaryFileSystem) Exists ¶
func (b *BinaryFileSystem) Exists(filepath string) bool
type ReactVM ¶
type ReactVM struct { *duktape.Context // contains filtered or unexported fields }
func (*ReactVM) DestroyHeap ¶
func (r *ReactVM) DestroyHeap()
Click to show internal directories.
Click to hide internal directories.