api

package
v0.0.0-...-ee63aef Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBrowserRoutes

func RegisterBrowserRoutes(ws *restful.WebService, handler *Handler)

RegisterBrowserRoutes adds the browser API routes to the web service.

Types

type Handler

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

Handler wraps the browser service to expose it via API endpoints.

func NewHandler

func NewHandler(svc *browserSvc.BrowserService) *Handler

NewHandler creates a new API handler for the browser service.

func (*Handler) GetCdpURL

func (h *Handler) GetCdpURL(req *restful.Request, resp *restful.Response)

GetCdpURL handles GET /boxes/{id}/browser/connect-url/cdp

Jump to

Keyboard shortcuts

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