mirror of
https://github.com/openrport/openrport.git
synced 2025-10-26 11:27:11 +00:00
20 lines
640 B
Go
20 lines
640 B
Go
package rportplus
|
|
|
|
import (
|
|
"github.com/openrport/openrport/plus/capabilities/oauth"
|
|
"github.com/openrport/openrport/plus/license"
|
|
)
|
|
|
|
// PluginConfig contains the config related to the plugin itself
|
|
type PluginConfig struct {
|
|
PluginPath string `mapstructure:"plugin_path"`
|
|
}
|
|
|
|
// PlusConfig contains the overall config for the rport-plus plugin. note that
|
|
// each capability should have it's own config section in the config file.
|
|
type PlusConfig struct {
|
|
PluginConfig *PluginConfig `mapstructure:"plus-plugin"`
|
|
OAuthConfig *oauth.Config `mapstructure:"plus-oauth"`
|
|
LicenseConfig *license.Config `mapstructure:"plus-license"`
|
|
}
|