package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Feb 29, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func AddRoute(host, path, method, entrypoint, command string, w io.Writer) error
-
func GetData(host, id, path string, w io.Writer) error
-
func ListRoutes(host string, w io.Writer) error
-
func RemoveRoute(host, id string) error
-
func SetData(host, handlerID, path string, r io.Reader) error
AddRoute will add a new route in kapow
GetData will perform the request and write the results on the provided writer
ListRoutes queries the kapow! instance for the routes that are registered
RemoveRoute removes a registered route in Kapow! server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.