liby

package
v0.0.0-...-9853328 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(L *lua.LState, data []byte) (lua.LValue, error)

Decode converts the JSON encoded data to Lua values.

func DecodeValue

func DecodeValue(L *lua.LState, value interface{}) lua.LValue

DecodeValue converts the value to a Lua value.

This function only converts values that the encoding/json package decodes to. All other values will return lua.LNil.

func DoProxy

func DoProxy(w http.ResponseWriter, r *http.Request)

func Encode

func Encode(value lua.LValue) ([]byte, error)

Encode returns the JSON encoding of value.

func LoadBit

func LoadBit(yocks yocki.YockScheduler)

func LoadCheck

func LoadCheck(yocks yocki.YockScheduler)

func LoadCrypto

func LoadCrypto(yocks yocki.YockScheduler)

func LoadGNU

func LoadGNU(yocks yocki.YockScheduler)

func LoadGin

func LoadGin(yocks yocki.YockScheduler)

func LoadGoroutine

func LoadGoroutine(yocks yocki.YockScheduler)

func LoadJSON

func LoadJSON(yocks yocki.YockScheduler)

func LoadMisc

func LoadMisc(yocks yocki.YockScheduler)

func LoadRandom

func LoadRandom(yocks yocki.YockScheduler)

func LoadTea

func LoadTea(yocks yocki.YockScheduler)

func LoadType

func LoadType(yocks yocki.YockScheduler)

func LoadWatch

func LoadWatch(yocks yocki.YockScheduler)

func LoadXML

func LoadXML(yocks yocki.YockScheduler)

Types

type Boolean

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

func (*Boolean) Ptr

func (b *Boolean) Ptr() *bool

func (*Boolean) Var

func (b *Boolean) Var() bool

type GoBindingType

type GoBindingType interface {
	Var() any
	Ptr() *any
}

type String

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

func (*String) Ptr

func (s *String) Ptr() *string

func (*String) Var

func (s *String) Var() string

type StringArray

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

func (*StringArray) Ptr

func (arr *StringArray) Ptr() *[]string

func (*StringArray) Var

func (arr *StringArray) Var() *lua.LTable

type Style

type Style struct {
	lipgloss.Style
}

func NewStyle

func NewStyle() *Style

func (*Style) Foreground

func (s *Style) Foreground(c string) *Style

type TeaModel

type TeaModel struct {
	InitCallback   func() tea.Cmd
	UpdateCallback func(tea.Msg) (tea.Model, tea.Cmd)
	ViewCallback   func() string
}

func (*TeaModel) Init

func (m *TeaModel) Init() tea.Cmd

func (*TeaModel) Update

func (m *TeaModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TeaModel) View

func (m *TeaModel) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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