package
1.0.31
Repository: https://github.com/script-development/rt-cv.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ErrorRes returns the error response.
FiberErrorHandler handles errors in fiber In our case that means we change the errors from text to json.
InsertData adds the profiles to every route.
Routes defines the routes used.

# Variables

MatchesProcess holts the process matches that should be processed in the background.

# Structs

CreateOrUpdateOnMatchHookRequestData contains the post data for creating and modifiying a OnMatchHook.
CVListsHookData contains the data that is passed to the hook.
GetStatusResponse contains the response data for the getStatus route.
HookMatchedCVData contains the content for processing a match.
MatchesProcessor is a struct that contains a list of matches to be processed in the background To register a match to be processed call (*MatchesProcessor).AppendMatchesToProcess After calling the above (*MatchesProcessor).processMatches should automatically pick up the match and handle it.
PatchScraperUserBody is the body of the routePatchScraperUser route.
ProcessMatches contains the content for processing a match.
RouteDeleteMatcherBranchResult gives some information about the removal process.
RouteDeleteScraperUserBody is the body of the routeDeleteScraperUser.
RouteGetProfilesCountRes is the response for routeGetProfilesCount.
RouteScraperListCVsReq contains the request data of routeScraperListCVs.
RouteScraperListCVsResp is the response of routeScraperListCVs.
RouteScraperScanCVBody is the request body of the routeScraperScanCV.
RouteScraperScanCVRes contains the response data of routeScraperScanCV.
RouteTestOnListHookExplainSendToHook explains what is send to the hook.
RouteTestOnMatchHookExplainSendToHook explains what is send to the hook.
SetPublicKeyForScraperUsersBody is the request body for routeSetPublicKeyForScraperUsers.
UpdateProfileReq are all the fields that can be updated in a profile All the top level fields are optional and if null should not be updated.

# Type aliases

IMap is a wrapper around map[string]any that's faster to use.