Documentation ¶
Index ¶
- func CommandAllHandler(cmd string, body string, method string, queryParams string, dic *di.Container) ([]*dsModels.Event, common.AppError)
- func CommandHandler(vars map[string]string, body string, method string, queryParams string, ...) (*dsModels.Event, common.AppError)
- func DiscoveryHandler(w http.ResponseWriter, discovery models.ProtocolDiscovery, ...)
- func ReleaseLock() string
- func TransformHandler(requestMap map[string]string, lc logger.LoggingClient) (map[string]string, common.AppError)
- func VersionHandler() string
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, queryParams string, dic *di.Container) (*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 DiscoveryHandler(w http.ResponseWriter, discovery models.ProtocolDiscovery, lc logger.LoggingClient)
func ReleaseLock ¶ added in v1.2.0
func ReleaseLock() string
func TransformHandler ¶
func VersionHandler ¶ added in v1.1.0
func VersionHandler() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.