api

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigHandler added in v0.0.20

type ConfigHandler struct {
	// contains filtered or unexported fields
}

func NewConfigHandler added in v0.0.20

func NewConfigHandler(lang string) *ConfigHandler

func (*ConfigHandler) Get added in v0.0.20

func (h *ConfigHandler) Get(c *gin.Context)

type DepartmentHandler added in v0.0.20

type DepartmentHandler struct {
	// contains filtered or unexported fields
}

func NewDepartmentHandler added in v0.0.20

func NewDepartmentHandler(ds *store.DepartmentStore, ws *store.WorkerStore) *DepartmentHandler

func (*DepartmentHandler) Create added in v0.0.20

func (h *DepartmentHandler) Create(c *gin.Context)

func (*DepartmentHandler) Delete added in v0.0.20

func (h *DepartmentHandler) Delete(c *gin.Context)

func (*DepartmentHandler) Get added in v0.0.20

func (h *DepartmentHandler) Get(c *gin.Context)

func (*DepartmentHandler) GetDepartmentWorkers added in v0.0.20

func (h *DepartmentHandler) GetDepartmentWorkers(c *gin.Context)

func (*DepartmentHandler) GetWorkerDepartments added in v0.0.20

func (h *DepartmentHandler) GetWorkerDepartments(c *gin.Context)

func (*DepartmentHandler) List added in v0.0.20

func (h *DepartmentHandler) List(c *gin.Context)

func (*DepartmentHandler) SetWorkerDepartments added in v0.0.20

func (h *DepartmentHandler) SetWorkerDepartments(c *gin.Context)

func (*DepartmentHandler) Update added in v0.0.20

func (h *DepartmentHandler) Update(c *gin.Context)

type ExecutionHandler added in v0.0.20

type ExecutionHandler struct {
	// contains filtered or unexported fields
}

func NewExecutionHandler added in v0.0.20

func NewExecutionHandler(es *store.ExecutionStore) *ExecutionHandler

func (*ExecutionHandler) Get added in v0.0.20

func (h *ExecutionHandler) Get(c *gin.Context)

func (*ExecutionHandler) GetLogs added in v0.0.20

func (h *ExecutionHandler) GetLogs(c *gin.Context)

func (*ExecutionHandler) List added in v0.0.20

func (h *ExecutionHandler) List(c *gin.Context)

func (*ExecutionHandler) ListBySession added in v0.0.20

func (h *ExecutionHandler) ListBySession(c *gin.Context)

func (*ExecutionHandler) ListByWorker added in v0.0.20

func (h *ExecutionHandler) ListByWorker(c *gin.Context)

type LocalChatHandler

type LocalChatHandler struct {
	// contains filtered or unexported fields
}

func NewLocalChatHandler

func NewLocalChatHandler(
	receiver *local.LocalReceiver,
	hub *local.SSEHub,
	outboundStore *store.OutboundMessageStore,
	msgStore *store.MessageStore,
) *LocalChatHandler

func (*LocalChatHandler) GetMessages added in v0.0.20

func (h *LocalChatHandler) GetMessages(c *gin.Context)

func (*LocalChatHandler) SendMessage added in v0.0.20

func (h *LocalChatHandler) SendMessage(c *gin.Context)

func (*LocalChatHandler) ServeMedia added in v0.0.20

func (h *LocalChatHandler) ServeMedia(c *gin.Context)

func (*LocalChatHandler) StreamReplies

func (h *LocalChatHandler) StreamReplies(c *gin.Context)

func (*LocalChatHandler) UploadMedia added in v0.0.20

func (h *LocalChatHandler) UploadMedia(c *gin.Context)

type StatsHandler added in v0.0.20

type StatsHandler struct {
	// contains filtered or unexported fields
}

func NewStatsHandler added in v0.0.20

func NewStatsHandler(ss *store.StatsStore) *StatsHandler

func (*StatsHandler) GetOverview added in v0.0.20

func (h *StatsHandler) GetOverview(c *gin.Context)

func (*StatsHandler) GetTrend added in v0.0.20

func (h *StatsHandler) GetTrend(c *gin.Context)

type TaskHandler added in v0.0.20

type TaskHandler struct {
	// contains filtered or unexported fields
}

func NewTaskHandler added in v0.0.20

func NewTaskHandler(ts *store.TaskStore, ws *store.WorkerStore) *TaskHandler

func (*TaskHandler) Cancel added in v0.0.20

func (h *TaskHandler) Cancel(c *gin.Context)

func (*TaskHandler) CancelByWorker added in v0.0.20

func (h *TaskHandler) CancelByWorker(c *gin.Context)

func (*TaskHandler) List added in v0.0.20

func (h *TaskHandler) List(c *gin.Context)

type WorkerHandler added in v0.0.20

type WorkerHandler struct {
	// contains filtered or unexported fields
}

func NewWorkerHandler added in v0.0.20

func NewWorkerHandler(ws *store.WorkerStore, ds *store.DepartmentStore, mgr *worker.Manager) *WorkerHandler

func (*WorkerHandler) Create added in v0.0.20

func (h *WorkerHandler) Create(c *gin.Context)

func (*WorkerHandler) Delete added in v0.0.20

func (h *WorkerHandler) Delete(c *gin.Context)

func (*WorkerHandler) Get added in v0.0.20

func (h *WorkerHandler) Get(c *gin.Context)

func (*WorkerHandler) List added in v0.0.20

func (h *WorkerHandler) List(c *gin.Context)

func (*WorkerHandler) Update added in v0.0.20

func (h *WorkerHandler) Update(c *gin.Context)

Jump to

Keyboard shortcuts

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