Documentation ¶
Index ¶
- type Predator
- func (p *Predator) Audit(profileID string) (*model.AuditResponse, error)
- func (p *Predator) GetProfile(profileID string) (*model.ProfileResponse, error)
- func (p *Predator) Profile(request *model.ProfileRequest) (*model.ProfileResponse, error)
- func (p *Predator) Upload(gitInfo *protocol.GitInfo) (*model.UploadReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Predator ¶
type Predator struct {
// contains filtered or unexported fields
}
Predator as Predator API client
func (*Predator) Audit ¶
func (p *Predator) Audit(profileID string) (*model.AuditResponse, error)
Audit to call Audit API
func (*Predator) GetProfile ¶
func (p *Predator) GetProfile(profileID string) (*model.ProfileResponse, error)
GetProfile to call get profile result API
func (*Predator) Profile ¶
func (p *Predator) Profile(request *model.ProfileRequest) (*model.ProfileResponse, error)
Profile to call start Profile API
Click to show internal directories.
Click to hide internal directories.