Documentation ¶
Index ¶
- Variables
- func ValidateURL(s string) error
- type APIClient
- func (client *APIClient) IsTokenValid(token string) (bool, error)
- func (client *APIClient) ListProjects(token string) ([]*Project, error)
- func (client *APIClient) StartRemoteFuzzingRun(artifact *Artifact, token string) (string, error)
- func (client *APIClient) UploadBundle(path string, projectName string, token string) (*Artifact, error)
- type APIError
- type Artifact
- type Project
Constants ¶
This section is empty.
Variables ¶
View Source
var FeaturedProjectsOrganization = "organizations/1"
Functions ¶
func ValidateURL ¶
Types ¶
type APIClient ¶
type APIClient struct {
Server string
}
func (*APIClient) ListProjects ¶
func (*APIClient) StartRemoteFuzzingRun ¶
type APIError ¶
type APIError struct { StatusCode int // contains filtered or unexported fields }
APIError is returned when a REST request returns a status code other than 200 OK
Click to show internal directories.
Click to hide internal directories.