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
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
Source Files
¶
- muxy.go
Click to show internal directories.
Click to hide internal directories.