{"id":42041736,"url":"https://github.com/timestee/go-accesslog","last_synced_at":"2026-01-26T05:35:49.583Z","repository":{"id":98838426,"uuid":"186257960","full_name":"timestee/go-accesslog","owner":"timestee","description":"A simple HTTP access log for golang.","archived":false,"fork":false,"pushed_at":"2020-04-15T09:16:06.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T11:06:11.255Z","etag":null,"topics":["access-logs","golang","http","http-server","logger","middleware"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timestee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-12T13:23:21.000Z","updated_at":"2021-12-02T02:52:20.000Z","dependencies_parsed_at":"2023-05-30T00:00:55.219Z","dependency_job_id":null,"html_url":"https://github.com/timestee/go-accesslog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timestee/go-accesslog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timestee%2Fgo-accesslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timestee%2Fgo-accesslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timestee%2Fgo-accesslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timestee%2Fgo-accesslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timestee","download_url":"https://codeload.github.com/timestee/go-accesslog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timestee%2Fgo-accesslog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28767343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["access-logs","golang","http","http-server","logger","middleware"],"created_at":"2026-01-26T05:35:49.000Z","updated_at":"2026-01-26T05:35:49.577Z","avatar_url":"https://github.com/timestee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-accesslog \n[![Build Status](https://travis-ci.org/timestee/go-accesslog.svg?branch=master)](https://travis-ci.org/timestee/go-accesslog) [![Go Walker](https://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/timestee/go-accesslog)  [![GoDoc](https://godoc.org/github.com/timestee/go-accesslog?status.svg)](https://godoc.org/github.com/timestee/go-accesslog)[![Sourcegraph](https://sourcegraph.com/github.com/timestee/go-accesslog/-/badge.svg)](https://sourcegraph.com/github.com/timestee/go-accesslog?badge)\n\nA simple HTTP access logger for golang.\n\nUsage:\n\n```golang\nfunc AccessLog(cb func(call *accesslog.Call)) func(next http.Handler) http.Handler {\n\treturn func(next http.Handler) http.Handler {\n\t\treturn http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {\n\t\t\t// before request,install ResponseWriter proxy\n\t\t\tcall := \u0026accesslog.Call{}\n\t\t\trwProxy := accesslog.NewResponseRecorder(rw, true)\n\t\t\taccesslog.Before(call, r)\n\n\t\t\tnext.ServeHTTP(rwProxy, r)\n\n\t\t\t// after request and callback\n\t\t\taccesslog.After(call, rwProxy, r)\n\t\t\tcb(call)\n\t\t})\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimestee%2Fgo-accesslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimestee%2Fgo-accesslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimestee%2Fgo-accesslog/lists"}