gophish/controllers
Jordan Wright 47f0049c30
Refactor servers (#1321)
* Refactoring servers to support custom workers and graceful shutdown.
* Refactoring workers to support custom mailers.
* Refactoring mailer to be an interface, with proper instances instead of a single global instance
* Cleaning up a few things. Locking maillogs for campaigns set to launch immediately to prevent a race condition.
* Cleaning up API middleware to be simpler
* Moving template parameters to separate struct
* Changed LoadConfig to return config object
* Cleaned up some error handling, removing uninitialized global error in models package
* Changed static file serving to use the unindexed package
2018-12-15 15:42:32 -06:00
..
api.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
api_test.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
doc.go Major refactoring - created auth, config, models, controllers, and middleware packages. Should help provide modularity and a clean architecture. 2014-01-09 00:42:05 -06:00
phish.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
phish_test.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
route.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00
route_test.go Refactor servers (#1321) 2018-12-15 15:42:32 -06:00