controller

package
v0.0.0-...-8dbf429 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextPlain       = "text/plain"
	ApplicationJSON = "application/json"
)

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(router *chi.Mux, latencyUseCase LatencyUseCaseProviderI, cfg *config.Config) *chi.Mux

NewRouter -.

Types

type LatencyUseCaseProviderI

type LatencyUseCaseProviderI interface {
	RefreshLatencyInfo()
	GetMinLatencyLogic() (*entity.WebSite, error)
	GetMaxLatencyLogic() (*entity.WebSite, error)
	GetLatencyLogic(siteName string) (*entity.WebSite, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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