builtins

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleBuiltins

func HandleBuiltins(name string, raw []byte, reply func([]byte, error))

HandleBuiltins handles build request

func ListBuiltins

func ListBuiltins() (names []string)

ListBuiltins return a list name of handlers

func RegisterBuiltin

func RegisterBuiltin(name string, meta string, handler RequestHandler)

RegisterBuiltin register a handler for builtins funcs

Types

type RequestHandler

type RequestHandler func(request *messages.InvokeRequest) (reply interface{}, err error)

RequestHandler handler of request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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