handler

package
v0.0.0-...-d8b93a5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 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"

	// FilePermissionReadable   = 0644
	// FilePermissionExecutable = 0755
	FilePermissionReadable   = 0666
	FilePermissionExecutable = 0777
)

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