README
¶
Veracode Go API
A Go version of the Veracode API.
Running
Create a Go file with the following example contents:
package main
import (
api "github.com/antfie/veracode-go-api"
)
func main() {
var apiKeyID = "YOUR_VERACODE_API_KEY_ID"
var apiKeySecret = "YOUR_VERACODE_API_KEY_SECRET"
response, err := api.GetApplicationList(apiKeyID, apiKeySecret)
if err != nil {
panic(err)
}
print(response)
}
Configure your apiKeyID
and apiKeySecret
values and then run.
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type ApplicationList ¶
type ApplicationList struct { XMLName xml.Name `xml:"applist"` Applications []Application `xml:"app"` }
func GetApplicationList ¶
func GetApplicationList(apiKeyID, apiKeySecret string) (ApplicationList, error)
GetApplicationList returns a list of applications.
Click to show internal directories.
Click to hide internal directories.