package
2.2.0
Repository: https://github.com/imulab/go-scim.git
Documentation: pkg.go.dev

# Functions

CreateRequest returns a parsed *service.CreateRequest directly from *http.Request, and a closer function which should be called after resource processing is done (preferably using defer).
DeleteRequest returns a function that will supply a complete built *service.DeleteRequest when given resourceId.
GetRequestProjection returns a nullable *crud.Projection structure that may encapsulate the attributes or excludedAttributes parameters present in the HTTP GET request.
MatchCriteria returns a function to be supplied as the match criteria argument in replace, patch and delete requests.
PatchRequest returns a function that will supply a complete built *service.PatchRequest when given resourceId, and a closer function which should be called after resource processing is done (preferably using defer).
QueryRequestFromGet returns a parsed *service.QueryRequest from *http.Request using HTTP GET method, and any error during parsing.
QueryRequestFromPost returns a parsed *service.QueryRequest from *http.Request using HTTP POST method, a closer function to be invoked when the search is finished, and any error during the parsing.
ReplaceRequest returns a function that will supply a complete built *service.ReplaceRequest when given resourceId, and a closer function which should be called after resource processing is done (preferably using defer).
WriteError writes the error to the http.ResponseWriter.
WriteResourceToResponse writes the given resource to http.ResponseWriter, respecting the attributes or excludedAttributes specified through options.
WriteSearchResultToResponse writes the search result to http.ResponseWrite, respecting the attribute or excludedAttributes specified through options.

# Structs

SearchResultRendering is the JSON rendering structure for search results.