routes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewRepository

func CreateNewRepository(c echo.Context) error

CreateNewRepository inserts the given repository into RepositoryCollection.

func CreateNewSecurityTest

func CreateNewSecurityTest(c echo.Context) error

CreateNewSecurityTest inserts the given securityTest into SecurityTestCollection.

func GetAPIVersion

func GetAPIVersion(c echo.Context) error

GetAPIVersion returns the API version

func GetAnalysis

func GetAnalysis(c echo.Context) error

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 HealthCheck

func HealthCheck(c echo.Context) error

HealthCheck is the heath check function.

func ReceiveRequest

func ReceiveRequest(c echo.Context) error

ReceiveRequest receives the request and performs several checks before starting a new analysis.

Types

This section is empty.

Jump to

Keyboard shortcuts

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