engine

package
v0.0.0-...-5885f20 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	MQ    *amqp.Client
	MySQL *mysql.DBconn
}

Engine is engine

func NewEngine

func NewEngine(amqpAddress string, dbAddress string) *Engine

NewEngine creates new engine instance

func (*Engine) ProcessMessage

func (e *Engine) ProcessMessage(m *samqp.Delivery) error

ProcessMessage processes a message

type TemplateParams

type TemplateParams struct {
	Username        string
	Password        string
	DiscoveryVlanIP string
	InterfaceRegex  string
	MgmtIP          string
}

TemplateParams is a struct for the configuration template

Jump to

Keyboard shortcuts

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