Discover Packages
github.com/kobsio/kobs
plugins
plugin-mongodb
cmd
package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Jan 19, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
PluginType is the type of the plugin, how it must be specified in the configuration. The PluginType is also used as
prefix for the returned chi.Router from the Mount function.
Mount mounts the MongoDB plugin routes in the plugins router of a kobs satellite instance.
type Router struct {
*chi.Mux
}
Router implements a router for the plugin. It contains all the fields and functions from the chi.Mux struct and all
the configured instances.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.