Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleBuiltins ¶
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
Click to show internal directories.
Click to hide internal directories.