controller

package
v1.8.19 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandController

type CommandController interface {
	// Start starts the client. This function should be called only once and does not return
	Start()
}

CommandController is a controller which brings in from an AMQP compatible provider

func NewCommandController

func NewCommandController(
	maxConcurreny int64,
	cmds service.AMQPService,
	completion service.AMQPService,
	handle handler.DeliveryHandler,
	log logrus.Ext1FieldLogger) (CommandController, error)

NewCommandController creates a new CommandController

type RestController

type RestController interface {
	//Start attempts to start the server
	Start()
}

RestController handles the REST API server

func NewRestController

func NewRestController(conf entity.RestConfig, hand handler.RestHandler, mux helper.Router) RestController

NewRestController creates a new rest controller

Jump to

Keyboard shortcuts

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