Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles HTTP requests for pause operations. It manages pause locks and messaging for debugging sessions.
func (*Controller) Delete ¶
func (c *Controller) Delete() http.HandlerFunc
Delete handles DELETE /pauses/{id} requests. It removes an existing pause lock and continues execution.
func (*Controller) Get ¶
func (c *Controller) Get() http.HandlerFunc
Get handles GET /pauses/{id} requests. It retrieves the status of an existing pause lock.
func (*Controller) Patch ¶
func (c *Controller) Patch() http.HandlerFunc
Patch handles PATCH /pauses/{id} requests. It updates the state of an existing pause lock.
func (*Controller) Post ¶
func (c *Controller) Post() http.HandlerFunc
Post handles POST /pauses requests. It creates a new pause lock and broadcasts the pause message.
Click to show internal directories.
Click to hide internal directories.