handler

package
v0.0.0-...-b0eb93f Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebSocketURLPrefix            = "ws://"
	WebSocketClientBinary         = "demo-pipe-client"
	WebSocketServerBinary         = "demo-pipe-server"
	DashboardBinary               = "demo-web-server"
	DemoFinancialDataServerBinary = "demo-findata-server"
	DemoSyslogBinary              = "syslog"
	DemoThrottleBinary            = "throttle"
	DemoGeneratorBinary           = "generator"
	DashboardTemplateFile         = "dashboard-template.html"
)

Variables

View Source
var CatalogsDirectoryPath string
View Source
var PrepsDirectoryPath string
View Source
var QueriesDirectoryPath string
View Source
var SpoutsDirectoryPath string

Functions

This section is empty.

Types

type CatalogHandler

type CatalogHandler interface {
	UploadFile(*gin.Context)
	Delete(*gin.Context)
}

func NewCatalogHandler

func NewCatalogHandler(config utils.Configuration) CatalogHandler

type EngineCompartment

type EngineCompartment struct {
	JobId string
}

type JobHandler

type JobHandler interface {
	Add(*gin.Context)
	Delete(*gin.Context)
	List(*gin.Context)
	Start(*gin.Context)
	Stop(*gin.Context)
}

func NewJobHandler

func NewJobHandler(cfg utils.Configuration) JobHandler

type PrepHandler

type PrepHandler interface {
	UploadFile(*gin.Context)
	Delete(*gin.Context)
}

func NewPrepHandler

func NewPrepHandler(config utils.Configuration) PrepHandler

type QueryHandler

type QueryHandler interface {
	UploadFile(*gin.Context)
	Delete(*gin.Context)
}

func NewQueryHandler

func NewQueryHandler(config utils.Configuration) QueryHandler

type Response

type Response struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

type SpoutHandler

type SpoutHandler interface {
	UploadFile(*gin.Context)
	Delete(*gin.Context)
}

func NewSpoutHandler

func NewSpoutHandler(config utils.Configuration) SpoutHandler

Jump to

Keyboard shortcuts

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