package
0.8.0
Repository: https://github.com/lunarobliq/gophish.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Flash handles the rendering flash messages.
NewAdminServer returns a new instance of the AdminServer with the provided config and options applied.
NewPhishingServer returns a new instance of the phishing server with provided options applied.
WithContactAddress sets the contact address used by the transparency handlers.
WithWorker is an option that sets the background worker.

# Constants

TransparencySuffix (when appended to a valid result ID), will cause Gophish to return a transparency response.

# Variables

ErrCampaignComplete is thrown when an event is received for a campaign that has already been marked as complete.
ErrInvalidRequest is thrown when a request with an invalid structure is received.

# Structs

AdminServer is an HTTP server that implements the administrative Gophish handlers, including the dashboard and REST API.
PhishingServer is an HTTP server that implements the campaign event handlers, such as email open tracking, click tracking, and more.
TransparencyResponse is the JSON response provided when a third-party makes a request to the transparency handler.

# Type aliases

AdminServerOption is a functional option that is used to configure the admin server.
PhishingServerOption is a functional option that is used to configure the the phishing server.