cmd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute is called by the main method of the package

Types

type PluginConfig

type PluginConfig struct {
	SecurityModulePlugin string `json:"securityModule"`
}

PluginConfig is the JSON configuration for loading plugins

type ServerConfig

type ServerConfig struct {
	KafkaBridges map[string]*maidenlanekafka.KafkaBridgeConf `json:"kafka"`
	Webhooks     map[string]*maidenlanerest.RESTGatewayConf  `json:"webhooks"`
	RESTGateways map[string]*maidenlanerest.RESTGatewayConf  `json:"rest"`
	Plugins      PluginConfig                                `json:"plugins"`
}

ServerConfig is the parent YAML structure that configures zeroxyz to run with a set of individual commands as goroutines (rather than the simple commandline mode that runs a single command)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL