controller

package
v0.0.0-...-841437a Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigControllerKey = "ConfigController"
View Source
const ConfigCreateRoute = "/config"
View Source
const ConfigDeleteRoute = "/config/:name"
View Source
const ConfigQueryRoute = "/config/:name"
View Source
const ConfigUpdateRoute = "/config/:name"
View Source
const ControllersKey = "Controllers"
View Source
const GetHealthRoute = "/health"
View Source
const HealthCheckControllerKey = "HealthCheckController"
View Source
const WebsocketControllerKey = "WebsocketController"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigController

type ConfigController interface {
	Controller
	Query(ctx echo.Context) error
	Create(ctx echo.Context) error
	Update(ctx echo.Context) error
	Delete(ctx echo.Context) error
}

type Controller

type Controller interface {
	GetRoutes() []model.Route
}

type HealthCheckController

type HealthCheckController interface {
	Controller
	GetHealth(c echo.Context) error
}

type Package

type Package struct {
}

func (*Package) Bindings

func (*Package) Bindings() []axon.Binding

type WebsocketController

type WebsocketController interface {
	Controller
	Connect(c echo.Context) error
}

Jump to

Keyboard shortcuts

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