Skip to content

klmitch/slingshot

Repository files navigation

Slingshot Plugin Manager

https://travis-ci.org/klmitch/slingshot.svg?branch=master https://coveralls.io/repos/github/klmitch/slingshot/badge.svg?branch=master https://goreportcard.com/badge/github.com/klmitch/slingshot

Package slingshot contains a plugin manager built on top of the standard plugin package. Plugins are loaded using the Load function, which loads the specified plugin and invokes its SlingshotInit function; this function will be passed a Slingshot object and any parameters passed to the Load function, and is expected to use the Register method of the Slingshot object to register one or more plugins for use by the application (or the application's libraries).