api

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 39 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 DefaultValidator added in v0.49.0

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

func (*DefaultValidator) Engine added in v0.49.0

func (v *DefaultValidator) Engine() interface{}

func (*DefaultValidator) ValidateStruct added in v0.49.0

func (v *DefaultValidator) ValidateStruct(obj any) error

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