Dir returns the base directory for the plugin (plugins/ )
()
| 24 | |
| 25 | // Dir returns the base directory for the plugin (plugins/<identifier>) |
| 26 | func (p Plugin) Dir() string { |
| 27 | return p.basePluginsPath + "/" + p.Identifier |
| 28 | } |
| 29 | |
| 30 | func (p Plugin) Server() *Server { |
| 31 | return p.srv |
no outgoing calls
no test coverage detected