Versions in this module Expand all Collapse all v0 v0.5.2 Feb 24, 2024 v0.5.1 Feb 23, 2024 Changes in this version type Options + Timeout time.Duration v0.5.0 Feb 15, 2024 Changes in this version + type Handler struct + func Handle(options Options) (*Handler, error) + func (h *Handler) Close() + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Instance struct + func Boot(app *ember.App, origin string, headed bool) (*Instance, error) + func (i *Instance) Close() + func (i *Instance) Visit(url string, r Request) (Result, error) + type Options struct + App *ember.App + Cache time.Duration + Headed bool + Isolated bool + OnError func(error) + OnRequest func(*Request) + OnResult func(*Result) + Origin string + type Request struct + Body string + Cookies map[string]string + Headers map[string][]string + Method string + Path string + Protocol string + QueryParams map[string]string + type Result struct + BodyAttributes map[string]string + BodyContent string + HTMLAttributes map[string]string + HeadAttributes map[string]string + HeadContent string + func Render(app *ember.App, location string, r Request) (Result, error) + func (r *Result) BodyAttributesString() string + func (r *Result) HTML() string + func (r *Result) HTMLAttributesString() string + func (r *Result) HeadAttributesString() string