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
5ef2d75e
ROOT
/
models
/
webhook.go
Search
History
87 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Webhook
Id
:
int64
Name
:
string
URL
:
string
Secret
:
string
IsActive
:
bool
ErrURLNotSpecified
ErrNameNotSpecified
GetWebhooks
()
:
([]Webhook, error)
GetActiveWebhooks
()
:
([]Webhook, error)
GetWebhook
(id int64)
:
(Webhook, error)
PostWebhook
(wh *Webhook)
:
error
PutWebhook
(wh *Webhook)
:
error
DeleteWebhook
(id int64)
:
error
*Webhook
Validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover