{"id":15471438,"url":"https://github.com/aisk/throttlewriter","last_synced_at":"2025-03-23T05:42:29.332Z","repository":{"id":57605367,"uuid":"165184104","full_name":"aisk/throttlewriter","owner":"aisk","description":"Simple and naïve throttle writer for go.","archived":false,"fork":false,"pushed_at":"2019-01-11T05:30:26.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T12:23:00.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aisk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-11T05:22:20.000Z","updated_at":"2019-01-13T11:40:37.000Z","dependencies_parsed_at":"2022-08-27T22:03:59.242Z","dependency_job_id":null,"html_url":"https://github.com/aisk/throttlewriter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fthrottlewriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fthrottlewriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fthrottlewriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fthrottlewriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aisk","download_url":"https://codeload.github.com/aisk/throttlewriter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061384,"owners_count":20554563,"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":[],"created_at":"2024-10-02T02:19:51.651Z","updated_at":"2025-03-23T05:42:29.311Z","avatar_url":"https://github.com/aisk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# throttlewriter\n\n[![GoDoc](https://godoc.org/github.com/aisk/throttlewriter?status.svg)](https://godoc.org/github.com/aisk/throttlewriter)\n\n![ThrottlePicture](https://media.defense.gov/2006/Jul/26/2000547457/-1/-1/0/060726-F-1234P-021.JPG)\n\nSimple and naïve throttle writer for go.\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"time\"\n\n\t\"github.com/aisk/throttlewriter\"\n)\n\nfunc main() {\n\twriter := throttlewriter.New(os.Stdout, 10, time.Second)\n\ti := 0\n\tfor {\n\t\ti++\n\t\tfmt.Fprintln(writer, i)\n\t}\n}\n```\n\n```sh\n$ go run example.go\n1\n2\n3\n4\n5\n4383562\n4383563\n8795986\n8795987\n13150686\n13150687\n^Csignal: interrupt\n```\n\n## License\n\nLicensed under either of\n * MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faisk%2Fthrottlewriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faisk%2Fthrottlewriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faisk%2Fthrottlewriter/lists"}