crash.software
Projects
Pull Requests
Issues
Builds
gophish
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gophish
Files
🤬
Sign In
a1a2de13
ROOT
/
models
/
group.go
Search
History
351 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Group
Id
:
int64
UserId
:
int64
Name
:
string
ModifiedDate
:
time.Time
Targets
:
[]Target
GroupSummaries
Total
:
int64
Groups
:
[]GroupSummary
GroupSummary
Id
:
int64
Name
:
string
ModifiedDate
:
time.Time
NumTargets
:
int64
GroupTarget
GroupId
:
int64
TargetId
:
int64
Target
Id
:
int64
BaseRecipient
BaseRecipient
Email
:
string
FirstName
:
string
LastName
:
string
Position
:
string
ErrEmailNotSpecified
ErrGroupNameNotSpecified
ErrNoTargetsSpecified
GetGroups
(uid int64)
:
([]Group, error)
GetGroupSummaries
(uid int64)
:
(GroupSummaries, error)
GetGroup
(id int64, uid int64)
:
(Group, error)
GetGroupSummary
(id int64, uid int64)
:
(GroupSummary, error)
GetGroupByName
(n string, uid int64)
:
(Group, error)
PostGroup
(g *Group)
:
error
PutGroup
(g *Group)
:
error
DeleteGroup
(g *Group)
:
error
insertTargetIntoGroup
(t Target, gid int64)
:
error
UpdateTarget
(target Target)
:
error
GetTargets
(gid int64)
:
([]Target, error)
*BaseRecipient
FormatAddress
()
:
string
*Target
FormatAddress
()
:
string
*Group
Validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover