web

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preload

func Preload() lua.LValue

Types

type Context

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

func (*Context) AssertFunction

func (c *Context) AssertFunction() (*lua.LFunction, bool)

func (*Context) Index

func (c *Context) Index(L *lua.LState, key string) lua.LValue

func (*Context) String

func (c *Context) String() string

func (*Context) Type added in v0.5.0

func (c *Context) Type() lua.LValueType

type Session

type Session struct {
	Name string   `lua:"name"`
	Keys []string `lua:"keys"`
	// contains filtered or unexported fields
}

func (*Session) AssertFunction

func (s *Session) AssertFunction() (*lua.LFunction, bool)

func (*Session) Index

func (s *Session) Index(L *lua.LState, key string) lua.LValue

func (*Session) String

func (s *Session) String() string

func (*Session) Type added in v0.5.0

func (s *Session) Type() lua.LValueType

type Web

type Web struct {
	Addr           string            `lua:"addr"`
	Mode           string            `lua:"mode"`
	Pattern        string            `lua:"pattern"`
	Static         map[string]string `lua:"static"`
	TrustedProxies []string          `lua:"trusted_proxies"`
	// contains filtered or unexported fields
}

func (*Web) AssertFunction

func (w *Web) AssertFunction() (*lua.LFunction, bool)

func (*Web) Index

func (w *Web) Index(L *lua.LState, key string) lua.LValue

func (*Web) String

func (w *Web) String() string

func (*Web) Type added in v0.5.0

func (w *Web) Type() lua.LValueType

Jump to

Keyboard shortcuts

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