Documentation
¶
Index ¶
- type Asset
- type Code
- type Engagement
- func (e *Engagement) Close()
- func (e *Engagement) Delete()
- func (e *Engagement) DeleteAsset(key int) error
- func (e *Engagement) DeleteCode(key int) error
- func (e *Engagement) DeleteFinding(key int) error
- func (e *Engagement) DeleteFindingsWithAsset(key int) error
- func (e *Engagement) DeleteSection(key int) error
- func (e *Engagement) GetAsset(key int) Asset
- func (e *Engagement) GetAssets() []Asset
- func (e *Engagement) GetCodes() []Code
- func (e *Engagement) GetFinding(key int) Finding
- func (e *Engagement) GetFindings() []Finding
- func (e *Engagement) GetFindingsWithAsset(key int) []Finding
- func (e *Engagement) GetSection(key string) Section
- func (e *Engagement) GetSectionFromIndex(index int) Section
- func (e *Engagement) GetSections() []Section
- func (e *Engagement) InsertAsset(parent string, name string, assetType string) (int, error)
- func (e *Engagement) InsertCode(code string, paste string) error
- func (e *Engagement) InsertFinding(severity int, timeStamp time.Time, title string, body string, ...) (int, error)
- func (e *Engagement) InsertSection(title string, body string) error
- func (e *Engagement) UpdateAsset(key int, parent string, name string, assetType string) error
- func (e *Engagement) UpdateEngagement(name string, contact string, email string) error
- func (e *Engagement) UpdateFinding(key int, severity int, timeStamp time.Time, title string, body string, ...) error
- func (e *Engagement) UpdateSection(key int, index int, title string, body string) error
- type Finding
- type Section
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engagement ¶
type Engagement struct { Name string Contact string Email string TimeStamp time.Time // contains filtered or unexported fields }
func LoadEngagements ¶
func LoadEngagements() []Engagement
func LoadTemplates ¶
func LoadTemplates() []Engagement
func NewEngagement ¶
func NewEngagement(name string, contact string, email string) Engagement
func NewEngagementFromTemplate ¶
func NewEngagementFromTemplate(templateName string, name string, contact string, email string) Engagement
func NewTemplate ¶
func NewTemplate(name string) Engagement
func (*Engagement) Close ¶
func (e *Engagement) Close()
func (*Engagement) Delete ¶
func (e *Engagement) Delete()
func (*Engagement) DeleteAsset ¶
func (e *Engagement) DeleteAsset(key int) error
func (*Engagement) DeleteCode ¶
func (e *Engagement) DeleteCode(key int) error
func (*Engagement) DeleteFinding ¶
func (e *Engagement) DeleteFinding(key int) error
func (*Engagement) DeleteFindingsWithAsset ¶
func (e *Engagement) DeleteFindingsWithAsset(key int) error
func (*Engagement) DeleteSection ¶
func (e *Engagement) DeleteSection(key int) error
func (*Engagement) GetAsset ¶
func (e *Engagement) GetAsset(key int) Asset
func (*Engagement) GetAssets ¶
func (e *Engagement) GetAssets() []Asset
func (*Engagement) GetCodes ¶
func (e *Engagement) GetCodes() []Code
func (*Engagement) GetFinding ¶
func (e *Engagement) GetFinding(key int) Finding
func (*Engagement) GetFindings ¶
func (e *Engagement) GetFindings() []Finding
func (*Engagement) GetFindingsWithAsset ¶
func (e *Engagement) GetFindingsWithAsset(key int) []Finding
func (*Engagement) GetSection ¶
func (e *Engagement) GetSection(key string) Section
func (*Engagement) GetSectionFromIndex ¶
func (e *Engagement) GetSectionFromIndex(index int) Section
func (*Engagement) GetSections ¶
func (e *Engagement) GetSections() []Section
func (*Engagement) InsertAsset ¶
func (*Engagement) InsertCode ¶
func (e *Engagement) InsertCode(code string, paste string) error
func (*Engagement) InsertFinding ¶
func (*Engagement) InsertSection ¶
func (e *Engagement) InsertSection(title string, body string) error
func (*Engagement) UpdateAsset ¶
func (*Engagement) UpdateEngagement ¶
func (e *Engagement) UpdateEngagement(name string, contact string, email string) error
func (*Engagement) UpdateFinding ¶
func (*Engagement) UpdateSection ¶
Click to show internal directories.
Click to hide internal directories.