basic

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 7 Imported by: 0

README

Basic GoVisual Example

This example demonstrates the core functionality of GoVisual.

Running the Example

go run main.go

This will start a server on port 8080 with the following endpoints:

  • / - Home page with links to API endpoints
  • /api/hello - Simple JSON response (100ms delay)
  • /api/slow - Slow response (500ms delay)
  • /api/error - Error response (500 status code)

Accessing the Dashboard

Once the server is running, you can access the GoVisual dashboard at http://localhost:8080/__viz.

Features Demonstrated

  • Request visualization
  • Response timing
  • Status code tracking
  • Request and response body logging

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