Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Logger *log.Logger DB *DB Srv *http.Server Router *chi.Mux PluginParams PluginParams // A map of each name to plugin. This should probably be a // “sync.Map“, because it will be accessed by // “{ CrossPlugin; APIPlugin }“ HTTP handlers. Plugins map[string]Plugin // Plugins that implement CrossPlugin IPlugins []CrossPlugin DSN string }
func GetDefaultManager ¶
Returns a Manager using “config/hub.yml“ to set up.
func (*Manager) AddPluginFile ¶
func (*Manager) AddPlugins ¶
func (*Manager) GetPluginMap ¶
Click to show internal directories.
Click to hide internal directories.