Documentation ¶
Index ¶
- func CommandAllHandler(cmd string, body string, method string) ([]*dsModels.Event, common.AppError)
- func CommandHandler(vars map[string]string, body string, method string) (*dsModels.Event, common.AppError)
- func DiscoveryHandler(requestMap map[string]string)
- func StatusHandler() string
- func TransformHandler(requestMap map[string]string) (map[string]string, common.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandAllHandler ¶
func CommandHandler ¶
func CommandHandler(vars map[string]string, body string, method string) (*dsModels.Event, common.AppError)
Note, every HTTP request to ServeHTTP is made in a separate goroutine, which means care needs to be taken with respect to shared data accessed through *Server.
func DiscoveryHandler ¶
func StatusHandler ¶
func StatusHandler() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.