modhttp

package
v0.0.6-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName      = "http"
	StateNameReader = "http/reader"
	StateNameWriter = "http/writer"
)

Variables

This section is empty.

Functions

func Constructor

func Constructor(loader modules.ModuleLoader) (modules.LocalizedModule, error)

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func (*Module) Destroy

func (module *Module) Destroy(loader modules.ModuleLoader) error

func (*Module) Exports

func (module *Module) Exports() starlark.StringDict

func (*Module) HTTPCookiesFn

func (module *Module) HTTPCookiesFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPHeadersFn

func (module *Module) HTTPHeadersFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPHostFn

func (module *Module) HTTPHostFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPLocationFn

func (module *Module) HTTPLocationFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPMethodFn

func (module *Module) HTTPMethodFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPPostFn

func (module *Module) HTTPPostFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPProtocolFn

func (module *Module) HTTPProtocolFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPQueryFn

func (module *Module) HTTPQueryFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPRemoteAddrFn

func (module *Module) HTTPRemoteAddrFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPSetCookieFn

func (module *Module) HTTPSetCookieFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPSetHeaderFn

func (module *Module) HTTPSetHeaderFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPVarsFn

func (module *Module) HTTPVarsFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) HTTPWriterFn

func (module *Module) HTTPWriterFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

func (*Module) Name

func (module *Module) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL