pkg-http-std

Community

Master Go's net/http for robust server and client solutions.

Authorep0ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It streamlines the development of reliable, secure, and efficient HTTP servers and clients in Go, reducing setup complexity and runtime errors.

Core Features & Use Cases

  • Server Configuration: Simplify setting timeouts, error logging, and graceful shutdown for production Go servers.
  • HTTP Client: Implement custom, timeout-aware HTTP clients with advanced redirect handling, TLS, and connection pooling.
  • Routing & Middleware: Use Go 1.22's ServeMux with path parameters and method routing, plus chainable middleware for request tracing and validation.
  • Request Handling & Validation: Parse and validate JSON payloads securely with body size limits and strict decoding.
  • Testing & Debugging: Use built-in testing patterns for unit tests and integration tests with httptest.
  • Reverse Proxy: Forward requests to backend services with error handling and response modification.

Quick Start

Use the Go standard library net/http to set up a secure server that handles routes, parses JSON, and performs graceful shutdown.

Dependency Matrix

Required Modules

slog

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pkg-http-std
Download link: https://github.com/ep0ll/bons-ci/archive/main.zip#pkg-http-std

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.