Skip to content
Back to skills

Go Http Api

ASecurity

Разработка REST API на Go с net/http, JSON, таймаутами, graceful shutdown и тестами.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
developmentgoapi

Works with

  • api

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add justxor/golang-agent-skills-ru --skill go-http-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Http Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Http Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/justxor-go-http-api/badge)](https://www.skillsdirectory.com/skills/justxor-go-http-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-http-api
description: "Разработка REST API на Go с net/http, JSON, таймаутами, graceful shutdown и тестами."
---

# HTTP API
- Согласуй публичные маршруты, методы, коды ответа и схему JSON.
- Ограничь размер входного тела. Проверяй декодирование и семантику данных.
- Передавай r.Context() в бизнес-логику и запросы к хранилищу.
- Настрой ReadHeaderTimeout, IdleTimeout и подходящий бюджет обработки.
- Завершай сервер через Shutdown с отдельным ограниченным context.
- Не раскрывай внутренние сообщения ошибок и секреты в ответах.
## Приемка
httptest: успех, неверный JSON, отсутствие ресурса, ошибка зависимости, отмена. Проверь контракт Content-Type и статус до записи тела.
Предпочитай net/http; добавляй фреймворк только под конкретную потребность.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.