Your one-click "I don't like that particular web server" solution, written in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
maride fc53b93223 Add flags for plugins 3 years ago
src Add flags for plugins 3 years ago
README.md Add flags for plugins 3 years ago

README.md

webhaezer

Your one-click I don't like that particular web server solution, written in Go.

Hack it!

Creating modules

It's simple! You need to implement the following functions in your module:

func GetName() (string) // Returns the name of the module
func GetDescription() (string) // Returns an interesting and precise description for our mdule
func Init() (error) // Initializes our module
func Run(entry structs.SpoolerEntry) ([]structs.SpoolerEntry, error) // Run our module over the given entry, and return found entires and errors
func RegisterFlags(flagRef *flag.FlagSet) () // Register flags required to run this module
func Deinit() () // De-init this module

Oh, and you need to build your module with go build -buildmode=plugin -o my.module main.go