awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
gin-gonic avatar

gin-gonic/examples

0
View on GitHub↗
4,537 stars·727 forks·Go·MIT·7 vuesgin-gonic.com↗

Examples

Ce dépôt est une collection de modèles d'implémentation, de code de tutoriel et d'exemples pratiques pour construire des applications web avec le framework Gin en Go. Il sert de guide pour apprendre à structurer des serveurs web Go, en se concentrant spécifiquement sur le mappage des chemins d'URL vers des fonctions de gestionnaire (handlers) et la gestion du flux de requêtes.

Le projet fournit des démonstrations d'implémentation de middleware pour des tâches telles que l'authentification, la journalisation et la limitation de débit (rate limiting). Il inclut également des exemples de référence pour le développement d'API REST, avec un accent sur la structuration des données et l'envoi de réponses JSON aux clients.

Features

  • Tutorials - Provides instructional guides and practical code examples for learning how to use the Gin web framework.
  • HTTP Request Dispatching - Demonstrates mechanisms that map incoming HTTP requests to internal handler callbacks based on path patterns.
  • Request Interception Middleware - Implements architectural patterns for intercepting requests to perform authentication, logging, and rate limiting.
  • Web Framework Route Handlers - Demonstrates how to map URL patterns to specific application functions within a web framework.
  • Request Routing - Provides practical examples of mapping incoming HTTP requests to handler functions within Go services.
  • HTTP Request Routing - Maps incoming network paths and URLs to specific handlers or controllers using predefined patterns.
  • Middleware Chains - Provides examples of architectural pipelines for processing HTTP requests and responses through a chain of handlers.
  • HTTP Middleware Pipelines - Implements middleware chains that intercept and transform HTTP requests for logging and authentication.
  • JSON Response Formatters - Provides utilities to convert data structures into JSON strings and set appropriate HTTP content-type headers.
  • Framework Middleware Examples - Shows how to intercept HTTP requests for authentication, logging, and rate limiting specifically within Gin.
  • JSON APIs - Provides reference examples for building services that deliver structured JSON data for programmatic consumption.
  • RESTful API Development - Provides reference patterns for building scalable web services using standard HTTP methods and JSON.
  • Radix Tree Routers - Uses high-performance compressed trie structures to match incoming URL paths to handler functions.

Historique des stars

Graphique de l'historique des stars pour gin-gonic/examplesGraphique de l'historique des stars pour gin-gonic/examples

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Examples

Sélections manuelles où Examples apparaît.
  • Boilerplate de framework web Go

Questions fréquentes

Que fait gin-gonic/examples ?

Ce dépôt est une collection de modèles d'implémentation, de code de tutoriel et d'exemples pratiques pour construire des applications web avec le framework Gin en Go. Il sert de guide pour apprendre à structurer des serveurs web Go, en se concentrant spécifiquement sur le mappage des chemins d'URL vers des fonctions de gestionnaire (handlers) et la gestion du flux de requêtes.

Quelles sont les fonctionnalités principales de gin-gonic/examples ?

Les fonctionnalités principales de gin-gonic/examples sont : Tutorials, HTTP Request Dispatching, Request Interception Middleware, Web Framework Route Handlers, Request Routing, HTTP Request Routing, Middleware Chains, HTTP Middleware Pipelines.

Quelles sont les alternatives open-source à gin-gonic/examples ?

Les alternatives open-source à gin-gonic/examples incluent : zijianhe/koa-router — koa-router is a routing middleware for Koa applications that maps incoming HTTP requests to specific handler functions… emicklei/go-restful — go-restful is a framework for building RESTful web services in Go. It functions as a toolkit for managing API… xinliangnote/go — This project is a Go programming language study guide and backend development course. It provides a collection of… h3js/h3 — Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including… salvo-rs/salvo — Salvo is a comprehensive Rust web framework for building asynchronous HTTP servers and web applications. It features a… koajs/router — This project provides a routing library for the Koa web framework, designed to map incoming HTTP requests to specific…

Alternatives open source à Examples

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Examples.
  • zijianhe/koa-routerAvatar de ZijianHe

    ZijianHe/koa-router

    4,816Voir sur GitHub↗

    koa-router is a routing middleware for Koa applications that maps incoming HTTP requests to specific handler functions based on URL patterns and HTTP methods. It provides the foundation for organizing web endpoints and developing REST APIs by linking request paths to their corresponding controller actions. The project enables the organization of complex endpoints through recursive router nesting, allowing multiple router instances to be mounted as middleware to create logical route hierarchies. It supports dynamic URL generation via named route mapping, which allows the creation of URL string

    JavaScript
    Voir sur GitHub↗4,816
  • emicklei/go-restfulAvatar de emicklei

    emicklei/go-restful

    5,111Voir sur GitHub↗

    go-restful is a framework for building RESTful web services in Go. It functions as a toolkit for managing API endpoints, providing a request router that maps incoming HTTP requests to handler functions using path parameters and custom URL patterns. The framework includes a data conversion layer that transforms Go structures into JSON or XML formats for request and response bodies. It also provides a system for organizing related web services into containers to manage endpoint prefixing and shared configuration. The project covers request lifecycle management through middleware filters for va

    Go
    Voir sur GitHub↗5,111
  • xinliangnote/goAvatar de xinliangnote

    xinliangnote/Go

    4,932Voir sur GitHub↗

    This project is a Go programming language study guide and backend development course. It provides a collection of learning notes and practical examples covering fundamental syntax and core language concepts. The repository functions as a tutorial for building web APIs and network services. It includes implementation guides for the Gin web framework and code demonstrations for creating remote procedure call services using Protocol Buffers. The material covers backend API engineering, including routing, data binding, and error handling. It also includes examples of structured logging and custo

    Gogingin-frameworkgo
    Voir sur GitHub↗4,932
  • h3js/h3Avatar de h3js

    h3js/h3

    5,353Voir sur GitHub↗

    Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including Node.js, edge runtimes, and serverless platforms. It functions as a cross-runtime web server and a web standard API wrapper, normalizing various runtime request and response objects into standard Web API signatures. The project serves as an HTTP middleware orchestrator and request handler, utilizing a middleware-based request pipeline and hierarchical route mounting to create modular server structures. It distinguishes itself through a runtime-agnostic event wrapper that ensures c

    TypeScript
    Voir sur GitHub↗5,353
Voir les 30 alternatives à Examples→