Documentation ¶
Index ¶
- func CreateNewRepository(c echo.Context) error
- func CreateNewSecurityTest(c echo.Context) error
- func GetAPIVersion(c echo.Context) error
- func GetAnalysis(c echo.Context) error
- func GetRequestResult(configAPI *apiContext.APIConfig) map[string]string
- func HealthCheck(c echo.Context) error
- func ReceiveRequest(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewRepository ¶
CreateNewRepository inserts the given repository into RepositoryCollection.
func CreateNewSecurityTest ¶
CreateNewSecurityTest inserts the given securityTest into SecurityTestCollection.
func GetAnalysis ¶
GetAnalysis returns the status of a given analysis given a RID.
func GetRequestResult ¶ added in v0.3.0
func GetRequestResult(configAPI *apiContext.APIConfig) map[string]string
GetRequestResult returns a map containing API's version and release date
func ReceiveRequest ¶
ReceiveRequest receives the request and performs several checks before starting a new analysis.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.