{"id":19544277,"url":"https://github.com/mehrdadrad/goasn","last_synced_at":"2026-06-04T23:31:35.683Z","repository":{"id":120111223,"uuid":"111645862","full_name":"mehrdadrad/goasn","owner":"mehrdadrad","description":"Go library for resolving ASN to description","archived":false,"fork":false,"pushed_at":"2017-11-27T17:37:23.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T19:17:26.576Z","etag":null,"topics":["asn","network"],"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/mehrdadrad.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-22T06:36:30.000Z","updated_at":"2022-09-12T12:31:02.000Z","dependencies_parsed_at":"2023-03-13T12:38:13.201Z","dependency_job_id":null,"html_url":"https://github.com/mehrdadrad/goasn","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/mehrdadrad%2Fgoasn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fgoasn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fgoasn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehrdadrad%2Fgoasn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehrdadrad","download_url":"https://codeload.github.com/mehrdadrad/goasn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240801035,"owners_count":19859727,"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":["asn","network"],"created_at":"2024-11-11T03:26:26.824Z","updated_at":"2025-02-26T05:41:24.547Z","avatar_url":"https://github.com/mehrdadrad.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/mehrdadrad/goasn.svg?branch=master)](https://travis-ci.org/mehrdadrad/goasn)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mehrdadrad/goasn)](https://goreportcard.com/report/github.com/mehrdadrad/goasn)\n# Resolve ASN to description\nIt works based on the [bgp.potaroo.net](http://bgp.potaroo.net/) and resolves the AS number to description. It creates a database at your local host and doesn't touch the website for the future resolve's requests. it's fast and safe for goroutine.\n\n# Installation\n\n     go get github.com/mehrdadrad/goasn\n\n# Usage\n```\n  package main\n\n  import (\n      \"github.com/mehrdadrad/goasn\"\n  )\n\n  func main() {\n      asn := goasn.NewASN()\n      asn.Init()\n\n      if a, err := asn.Get(15133); err == nil {\n        println(a.Descr)\n      }\n  }\n```\n```\n\u003ego run main.go\n\u003eEDGECAST - MCI Communications Services, Inc. d/b/a Verizon Business, US\n ```\n## License\nThis project is licensed under MIT license. Please read the LICENSE file.\n\n\n## Contribute\nWelcomes any kind of contribution, please follow the next steps:\n\n- Fork the project on github.com.\n- Create a new branch.\n- Commit changes to the new branch.\n- Send a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Fgoasn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehrdadrad%2Fgoasn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehrdadrad%2Fgoasn/lists"}