restapi

package
v0.0.0-...-f68b460 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(db *db.DB, secret []byte)

Initialize sets up the REST API with the necessary dependencies

func SetupRoutes

func SetupRoutes(mux *http.ServeMux)

SetupRoutes configures all REST API routes

Types

type HealthResponse

type HealthResponse struct {
	Status string `json:"status"`
}

HealthResponse represents a health check response

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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