controllers

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChromeVersionDto

type ChromeVersionDto struct {
	Browser  string `json:"browser"`
	Protocol string `json:"protocol"`
	V8       string `json:"v8"`
	WebKit   string `json:"webkit"`
}

type HTTPError added in v1.20.0

type HTTPError struct {
	Error string `json:"error"`
}

type Health

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

func NewHealth

func NewHealth(settings worker.CDPSettings) (*Health, error)

func (*Health) Use

func (c *Health) Use(e *echo.Echo)

type Info

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

func NewInfo

func NewInfo(settings InfoSettings) (*Info, error)

func (*Info) Use

func (c *Info) Use(e *echo.Echo)

type InfoDto

type InfoDto struct {
	IP      string     `json:"ip"`
	Version VersionDto `json:"version"`
}

type InfoSettings

type InfoSettings struct {
	Version       string
	FerretVersion string
	CDP           worker.CDPSettings
}

type ScriptDto

type ScriptDto struct {
	worker.Query
}

type VersionDto

type VersionDto struct {
	Worker string           `json:"worker"`
	Chrome ChromeVersionDto `json:"chrome"`
	Ferret string           `json:"ferret"`
}

type Worker

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

func NewWorker

func NewWorker(worker *worker.Worker) (*Worker, error)

func (*Worker) Use

func (c *Worker) Use(e *echo.Echo)

Jump to

Keyboard shortcuts

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