package
1.0.12
Repository: https://github.com/filllabs/sincap-common.git
Documentation: pkg.go.dev

# Packages

Package contexts provides several utilities and context implementations.
Package middlewares provides a set of usefull middlewares.
Package responses contains shorthand functions for everyday responses.
Package ws provides necessary Connect, Disconnect functions and Writers.

# Functions

Body2Map converts request body to a map.
EndpointRequestTest requests to endpoint with given parameters.
NewResource returns a new instance of resource.
Query2Map converts query parameters to a map.

# Structs

Resource is the the definition of a single service resource with minimum set of predefined information.

# Type aliases

Handler is the shorthand type for a fucntion which takes http.Handler and returns http.Handler.