Documentation ¶
Overview ¶
Package run contains the main Muxy entrypoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RawConfig *plugo.RawConfig ConfigFile string // Path to YAML Configuration File }
Config is the top-level configuration struct
type Muxy ¶
type Muxy struct {
// contains filtered or unexported fields
}
Muxy is the main orchestration component
func NewWithDefaultConfig ¶
func NewWithDefaultConfig() *Muxy
NewWithDefaultConfig creates a new Muxy instance with defaults
func (*Muxy) LoadPlugins ¶
func (m *Muxy) LoadPlugins()
LoadPlugins loads all plugins dynamically and configures them
type PluginConfig ¶
type PluginConfig struct { Name string Description string LogLevel int `default:"2" required:"true" mapstructure:"loglevel"` Proxy []plugo.PluginConfig Middleware []plugo.PluginConfig }
PluginConfig contains configuration for all plugins to Muxy
Click to show internal directories.
Click to hide internal directories.