api

package
v0.25.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const HEALTH_CHECK_ROUTE = "/health"

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
	TelemetryService telemetry.TelemetryService
}

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
controllers
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