Documentation ¶
Index ¶
- Constants
- Variables
- type RuntimeSymbols
- func (r *RuntimeSymbols) FetchEvent() *goja.Object
- func (r *RuntimeSymbols) FetchEventPrototype() *goja.Object
- func (r *RuntimeSymbols) Headers() goja.Constructor
- func (r *RuntimeSymbols) Request() *goja.Object
- func (r *RuntimeSymbols) RequestPrototype() *goja.Object
- func (r *RuntimeSymbols) Response() *goja.Object
- func (r *RuntimeSymbols) ResponsePrototype() *goja.Object
Constants ¶
View Source
const ( RuntimeFetchEventInstanceSymbol = "__runtimeFetchEventInstance" RuntimeRequestInstanceSymbol = "__runtimeRequestInstance" RuntimeResponseInstanceSymbol = "__runtimeResponseInstance" )
Variables ¶
View Source
var PolyfillFS embed.FS
Functions ¶
This section is empty.
Types ¶
type RuntimeSymbols ¶
type RuntimeSymbols struct {
// contains filtered or unexported fields
}
func PolyfillRuntime ¶
func PolyfillRuntime(eventLoop *eventloop.EventLoop) (s *RuntimeSymbols, err error)
func (*RuntimeSymbols) FetchEvent ¶
func (r *RuntimeSymbols) FetchEvent() *goja.Object
func (*RuntimeSymbols) FetchEventPrototype ¶
func (r *RuntimeSymbols) FetchEventPrototype() *goja.Object
func (*RuntimeSymbols) Headers ¶
func (r *RuntimeSymbols) Headers() goja.Constructor
func (*RuntimeSymbols) Request ¶
func (r *RuntimeSymbols) Request() *goja.Object
func (*RuntimeSymbols) RequestPrototype ¶
func (r *RuntimeSymbols) RequestPrototype() *goja.Object
func (*RuntimeSymbols) Response ¶
func (r *RuntimeSymbols) Response() *goja.Object
func (*RuntimeSymbols) ResponsePrototype ¶
func (r *RuntimeSymbols) ResponsePrototype() *goja.Object
Click to show internal directories.
Click to hide internal directories.