web

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSessionL

func NewSessionL(L *lua.LState) int

func NewWebL

func NewWebL(L *lua.LState) int

func Preload

func Preload(L *lua.LState) lua.LValue

Types

type Context

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

func (*Context) AssertFunction

func (c *Context) AssertFunction() lua.LGFunction

func (*Context) Index

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

func (*Context) MetatableName

func (c *Context) MetatableName() string

func (*Context) String

func (c *Context) String() string

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.LGFunction

func (*Session) Index

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

func (*Session) MetatableName

func (s *Session) MetatableName() string

func (*Session) String

func (s *Session) String() string

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.LGFunction

func (*Web) Index

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

func (*Web) MetatableName

func (w *Web) MetatableName() string

func (*Web) String

func (w *Web) String() string

Jump to

Keyboard shortcuts

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