{"id":20885290,"url":"https://github.com/lab11/go-tuntap","last_synced_at":"2025-05-12T19:30:40.844Z","repository":{"id":39617436,"uuid":"13785186","full_name":"lab11/go-tuntap","owner":"lab11","description":"Use Tun/Tap devices with Go","archived":false,"fork":false,"pushed_at":"2018-09-10T22:24:40.000Z","size":15,"stargazers_count":52,"open_issues_count":1,"forks_count":15,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-06-18T21:49:26.786Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.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}},"created_at":"2013-10-22T20:36:10.000Z","updated_at":"2024-01-29T15:23:19.000Z","dependencies_parsed_at":"2022-09-15T21:42:31.353Z","dependency_job_id":null,"html_url":"https://github.com/lab11/go-tuntap","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/lab11%2Fgo-tuntap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fgo-tuntap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fgo-tuntap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fgo-tuntap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/go-tuntap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148872,"owners_count":17428430,"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-11-18T08:13:02.147Z","updated_at":"2024-11-18T08:13:02.791Z","avatar_url":"https://github.com/lab11.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tun / Tap Bindings for Go\n=========================\n\n\nInstall\n-------\n\n    go get github.com/lab11/go-tuntap/tuntap\n\n\nUsage\n-----\n\n    import \"github.com/lab11/go-tuntap/tuntap\"\n\n    func main () {\n        var tund *tuntap.Interface\n        var err error\n        var inpkt *tuntap.Packet\n\n        tun_metahdr := false\n        tund, err  = tuntap.Open(\"tun0\", tuntap.DevTun, tun_metahdr)\n        inpkt, err = tund.ReadPacket()\n    }\n\n\nThanks\n------\n\nThank you to @danderson for writing the original version at\nhttp://code.google.com/p/tuntap/ .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fgo-tuntap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fgo-tuntap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fgo-tuntap/lists"}