api

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

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

func NewApiServer

func NewApiServer(config ApiServerConfig) *ApiServer

func (*ApiServer) HealthCheck

func (a *ApiServer) HealthCheck() error

func (*ApiServer) Start

func (a *ApiServer) Start() error

func (*ApiServer) Stop

func (a *ApiServer) Stop()

type ApiServerConfig

type ApiServerConfig struct {
	ApiPort          int
	Version          string
	TelemetryService telemetry.TelemetryService
	Frps             *daytonaServer.FRPSConfig
	ServerId         string
}

type SliceValidationError added in v0.25.0

type SliceValidationError []error

func (SliceValidationError) Error added in v0.25.0

func (err SliceValidationError) Error() string

Directories

Path Synopsis
log
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

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