Documentation
¶
Index ¶
- func RequireAI() map[string]any
- func RequireConsole() map[string]any
- func RequireDB() map[string]any
- func RequireFile() map[string]any
- func RequireHTTP() map[string]any
- func RequireLLM(lm llm.LLM) map[string]any
- func RequireLog() map[string]any
- func RequireUtil() map[string]any
- type Args
- func (args *Args) Any(index int) any
- func (args *Args) Arr(startIndex int) []any
- func (args *Args) Bool(index int) bool
- func (args *Args) Bytes(index int) []byte
- func (args *Args) Check(num int) *Args
- func (args *Args) Int(index int) int
- func (args *Args) Int64(index int) int64
- func (args *Args) Map(index int) map[string]any
- func (args *Args) Map2Arr(index int) []any
- func (args *Args) Map2StrArr(index int) []string
- func (args *Args) Path(index int) string
- func (args *Args) Str(index int) string
- func (args *Args) StrArr(startIndex int) []string
- type Http
- func (hc *Http) Delete(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Do(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Download(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Get(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Head(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Post(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Put(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (hc *Http) Upload(argsIn goja.FunctionCall, vm *goja.Runtime) goja.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireConsole ¶ added in v0.0.3
func RequireFile ¶ added in v0.0.3
func RequireHTTP ¶ added in v0.0.3
func RequireLog ¶ added in v0.0.5
func RequireUtil ¶ added in v0.0.3
Types ¶
type Args ¶ added in v0.0.3
func (*Args) Map2StrArr ¶ added in v0.0.3
type Http ¶ added in v0.0.3
type Http struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.