server

command
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: GPL-3.0 Imports: 18 Imported by: 0

README

cmd/server

Responsibility

  • Implements the Launchrail web server.
  • Handles HTTP requests and responses.
  • Serves static files and templates.
  • Provides API endpoints for simulation data and control.

Scope

  • Gin web framework.
  • Route handling for static files, templates, and API endpoints.
  • Data handling for simulation records.
  • Template rendering using templ.

Test Suite Overview

  • Lacks a comprehensive test suite.
  • Tests should cover route handling, API endpoints, and data handling.

Decisions & Potential Gotchas

  • Uses gin for web framework.
  • Uses templ for template rendering.
  • Static files are served from the static directory.
  • Template files are located in the templates directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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