handler

package
v0.0.0-...-bf973cb Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortWithValidatorPayload

func AbortWithValidatorPayload(c *gin.Context, err error)

func CodeToStr

func CodeToStr(err error) string

func ToHttpStatus

func ToHttpStatus(err error) int

Types

type ActionHandler

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

func NewActionHandler

func NewActionHandler(s *service.ActionService) *ActionHandler

func (*ActionHandler) Create

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

func (*ActionHandler) Delete

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

func (*ActionHandler) Get

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

func (*ActionHandler) Paginate

func (h *ActionHandler) Paginate(c *gin.Context)

func (*ActionHandler) UpdateEnabled

func (h *ActionHandler) UpdateEnabled(c *gin.Context)

func (*ActionHandler) UpdateLabel

func (h *ActionHandler) UpdateLabel(c *gin.Context)

func (*ActionHandler) UpdateMatchApplication

func (h *ActionHandler) UpdateMatchApplication(c *gin.Context)

func (*ActionHandler) UpdateMatchEvent

func (h *ActionHandler) UpdateMatchEvent(c *gin.Context)

func (*ActionHandler) UpdateMatchHost

func (h *ActionHandler) UpdateMatchHost(c *gin.Context)

func (*ActionHandler) UpdateMatchProvider

func (h *ActionHandler) UpdateMatchProvider(c *gin.Context)

func (*ActionHandler) UpdatePayload

func (h *ActionHandler) UpdatePayload(c *gin.Context)

type ActionInvocationHandler

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

func (*ActionInvocationHandler) Delete

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

func (*ActionInvocationHandler) Get

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

func (*ActionInvocationHandler) Paginate

func (h *ActionInvocationHandler) Paginate(c *gin.Context)

func (*ActionInvocationHandler) Test

func (h *ActionInvocationHandler) Test(c *gin.Context)

type CommentHandler

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

func (*CommentHandler) Create

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

func (*CommentHandler) Delete

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

func (*CommentHandler) GetAllByUpdateId

func (h *CommentHandler) GetAllByUpdateId(c *gin.Context)

func (*CommentHandler) UpdateContent

func (h *CommentHandler) UpdateContent(c *gin.Context)

type ConstantHandler

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

func NewConstantHandler

func NewConstantHandler(s *service.ConstantService) *ConstantHandler

func (*ConstantHandler) Create

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

func (*ConstantHandler) Delete

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

func (*ConstantHandler) Get

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

func (*ConstantHandler) GetAll

func (h *ConstantHandler) GetAll(c *gin.Context)

func (*ConstantHandler) UpdateValue

func (h *ConstantHandler) UpdateValue(c *gin.Context)

type EventHandler

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

func NewEventHandler

func NewEventHandler(s *service.EventService) *EventHandler

func (*EventHandler) Delete

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

func (*EventHandler) Get

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

func (*EventHandler) Window

func (h *EventHandler) Window(c *gin.Context)

type FilterPresetHandler

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

func (*FilterPresetHandler) Create

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

func (*FilterPresetHandler) Delete

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

func (*FilterPresetHandler) GetByType

func (h *FilterPresetHandler) GetByType(c *gin.Context)

type HealthHandler

type HealthHandler struct {
}

func NewHealthHandler

func NewHealthHandler() *HealthHandler

func (*HealthHandler) Show

func (h *HealthHandler) Show(c *gin.Context)

type InfoHandler

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

func NewInfoHandler

func NewInfoHandler(a *config.App) *InfoHandler

func (*InfoHandler) Show

func (h *InfoHandler) Show(c *gin.Context)

type SecretHandler

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

func NewSecretHandler

func NewSecretHandler(s *service.SecretService) *SecretHandler

func (*SecretHandler) Create

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

func (*SecretHandler) Delete

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

func (*SecretHandler) Get

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

func (*SecretHandler) GetAll

func (h *SecretHandler) GetAll(c *gin.Context)

func (*SecretHandler) UpdateValue

func (h *SecretHandler) UpdateValue(c *gin.Context)

type UpdateHandler

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

func NewUpdateHandler

func NewUpdateHandler(s *service.UpdateService, c *config.App) *UpdateHandler

func (*UpdateHandler) Delete

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

func (*UpdateHandler) Get

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

func (*UpdateHandler) Paginate

func (h *UpdateHandler) Paginate(c *gin.Context)

func (*UpdateHandler) UpdateState

func (h *UpdateHandler) UpdateState(c *gin.Context)

type UpdateStateDefinitionHandler

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

func (*UpdateStateDefinitionHandler) Create

func (*UpdateStateDefinitionHandler) Delete

func (*UpdateStateDefinitionHandler) Get

func (*UpdateStateDefinitionHandler) GetAll

func (*UpdateStateDefinitionHandler) Reorder

func (h *UpdateStateDefinitionHandler) Reorder(c *gin.Context)

func (*UpdateStateDefinitionHandler) Update

type UpdateStateTransitionHandler

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

func (*UpdateStateTransitionHandler) Create

func (*UpdateStateTransitionHandler) Delete

func (*UpdateStateTransitionHandler) GetAll

func (*UpdateStateTransitionHandler) GetByFromStateId

func (h *UpdateStateTransitionHandler) GetByFromStateId(c *gin.Context)

type WebhookHandler

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

func NewWebhookHandler

func NewWebhookHandler(s *service.WebhookService) *WebhookHandler

func (*WebhookHandler) Create

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

func (*WebhookHandler) Delete

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

func (*WebhookHandler) Get

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

func (*WebhookHandler) Paginate

func (h *WebhookHandler) Paginate(c *gin.Context)

func (*WebhookHandler) UpdateIgnoreHost

func (h *WebhookHandler) UpdateIgnoreHost(c *gin.Context)

func (*WebhookHandler) UpdateIgnoreHostReplacement

func (h *WebhookHandler) UpdateIgnoreHostReplacement(c *gin.Context)

func (*WebhookHandler) UpdateLabel

func (h *WebhookHandler) UpdateLabel(c *gin.Context)

type WebhookInvocationHandler

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

func (*WebhookInvocationHandler) Execute

func (h *WebhookInvocationHandler) Execute(c *gin.Context)

type WebinterfaceHandler

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

func NewWebinterfaceHandler

func NewWebinterfaceHandler(wc *config.Webinterface, ac *config.Auth) *WebinterfaceHandler

func (*WebinterfaceHandler) GetConfig

func (h *WebinterfaceHandler) GetConfig(c *gin.Context)

Jump to

Keyboard shortcuts

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