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
faadf0c8
ROOT
/
models
/
template.go
Search
History
185 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Template
Id
:
int64
UserId
:
int64
Name
:
string
Subject
:
string
Text
:
string
HTML
:
string
ModifiedDate
:
time.Time
Attachments
:
[]Attachment
ErrTemplateNameNotSpecified
ErrTemplateMissingParameter
GetTemplates
(uid int64)
:
([]Template, error)
GetTemplate
(id int64, uid int64)
:
(Template, error)
GetTemplateByName
(n string, uid int64)
:
(Template, error)
PostTemplate
(t *Template)
:
error
PutTemplate
(t *Template)
:
error
DeleteTemplate
(id int64, uid int64)
:
error
*Template
Validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover