handler

package
v1.2.4-dev.14 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandAllHandler

func CommandAllHandler(cmd string, body string, method string, queryParams string, dic *di.Container) ([]*dsModels.Event, common.AppError)

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 TransformHandler(requestMap map[string]string, lc logger.LoggingClient) (map[string]string, common.AppError)

func VersionHandler added in v1.1.0

func VersionHandler() string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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