api

package
v0.0.0-...-92e1235 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCacheTTL = 10 * time.Minute
)

Variables

This section is empty.

Functions

func BindWeatherApi

func BindWeatherApi(
	s *server.Server,
	wService *service.WeatherService,
	authService *service.AuthService,
	c cache.Cache)

func SetupHealthCheck

func SetupHealthCheck(s *server.Server)

SetupHealthCheck sets up health and readiness checks for the server.

Types

type WeatherApi

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳