{"id":16953154,"url":"https://github.com/c4milo/handlers","last_synced_at":"2025-03-22T13:31:31.857Z","repository":{"id":137877767,"uuid":"29259315","full_name":"c4milo/handlers","owner":"c4milo","description":"Go's HTTP handlers I use in my projects","archived":false,"fork":false,"pushed_at":"2023-02-25T23:29:02.000Z","size":197,"stargazers_count":53,"open_issues_count":9,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T11:39:25.414Z","etag":null,"topics":["compression","csrf-protection","go","golang","grpc-gateway","http-handler","logger"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c4milo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-14T18:36:01.000Z","updated_at":"2023-09-08T16:53:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"e26deae4-eea9-4446-86f6-2729cfcf69d7","html_url":"https://github.com/c4milo/handlers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fhandlers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fhandlers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fhandlers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4milo%2Fhandlers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c4milo","download_url":"https://codeload.github.com/c4milo/handlers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244962850,"owners_count":20539230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","csrf-protection","go","golang","grpc-gateway","http-handler","logger"],"created_at":"2024-10-13T22:06:28.646Z","updated_at":"2025-03-22T13:31:31.597Z","avatar_url":"https://github.com/c4milo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go HTTP Handlers\n\n[![GoDoc](https://godoc.org/github.com/c4milo/handlers?status.svg)](https://godoc.org/github.com/c4milo/handlers)\n[![Build Status](https://travis-ci.org/c4milo/handlers.svg?branch=master)](https://travis-ci.org/c4milo/handlers)\n\nThis repository contains HTTP middlewares that I use in my own Go projects.\nFeel free to use them too!\n\n* **Compressor:** Applies gzip compression to the response body, if the client supports it.\n* **Logger:** Logs HTTP requests, including: remote user, remote IP, latency, request id, txbytes, rxbytes, status, etc.\n* **HTTP Method Override:** Provides an alternative for clients that don't support methods other than POST or GET  to override the HTTP method.\n* **CSRF protection:** Provides protection for endpoints from CSRF attacks.\n* **Session:** Secure cookie session management with external store support.\n* **GRPCUtil:** A convenient handler to initialize a gRPC server and OpenAPI proxy.\n\nFor examples on how to use these handlers, please refer to the Go documentation linked at the top.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4milo%2Fhandlers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc4milo%2Fhandlers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4milo%2Fhandlers/lists"}