Documentation ¶
Index ¶
- Constants
- func Constructor(loader modules.ModuleLoader) (modules.LocalizedModule, error)
- type Module
- func (module *Module) Destroy(loader modules.ModuleLoader) error
- func (module *Module) Exports() starlark.StringDict
- func (module *Module) HTTPCookiesFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPHeadersFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPHostFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPLocationFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPMethodFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPPostFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPProtocolFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPQueryFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPRemoteAddrFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPSetCookieFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPSetHeaderFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPVarsFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) HTTPWriterFn(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func (module *Module) Name() string
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) Exports ¶
func (module *Module) Exports() starlark.StringDict
func (*Module) HTTPCookiesFn ¶
func (*Module) HTTPHeadersFn ¶
func (*Module) HTTPHostFn ¶
func (*Module) HTTPLocationFn ¶
func (*Module) HTTPMethodFn ¶
func (*Module) HTTPPostFn ¶
func (*Module) HTTPProtocolFn ¶
func (*Module) HTTPQueryFn ¶
func (*Module) HTTPRemoteAddrFn ¶
func (*Module) HTTPSetCookieFn ¶
func (*Module) HTTPSetHeaderFn ¶
func (*Module) HTTPVarsFn ¶
func (*Module) HTTPWriterFn ¶
Click to show internal directories.
Click to hide internal directories.