client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(host, path, method, entrypoint, command string, w io.Writer) error

AddRoute will add a new route in kapow

func GetData

func GetData(host, id, path string, w io.Writer) error

GetData will perform the request and write the results on the provided writer

func ListRoutes

func ListRoutes(host string, w io.Writer) error

ListRoutes queries the kapow! instance for the routes that are registered

func RemoveRoute

func RemoveRoute(host, id string) error

RemoveRoute removes a registered route in Kapow! server

func SetData

func SetData(host, handlerID, path string, r io.Reader) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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