Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, cache wazero.CompilationCache, blob []byte, req RequestPlugin) error
Types ¶
type RequestModule ¶
type RequestModule struct {
// contains filtered or unexported fields
}
func NewRequestModule ¶
func NewRequestModule(r *http.Request) (*RequestModule, error)
TODO: could probably do more optimized stuff for larger bodies. We want to limit the body size though...
func (*RequestModule) Instanciate ¶
func (*RequestModule) WriteResponse ¶
func (r *RequestModule) WriteResponse(w io.Writer) (int, error)
Click to show internal directories.
Click to hide internal directories.