- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for function (0.17 sec)
-
internal/grid/README.md
In essence, they are `[]byte` -> `[]byte, error` functions. It is not possible to return *both* an error and a response. Handlers are registered on the manager using `(*Manager).RegisterSingleHandler(id HandlerID, h SingleHandlerFn, subroute ...string)`. The server handler function has this signature: `type SingleHandlerFn func(payload []byte) ([]byte, *RemoteErr)`. Sample handler:
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0)