{"id":13413611,"url":"https://github.com/koofr/graval","last_synced_at":"2025-03-14T19:32:53.428Z","repository":{"id":16294154,"uuid":"19042786","full_name":"koofr/graval","owner":"koofr","description":"An experimental go FTP server framework","archived":false,"fork":true,"pushed_at":"2020-10-02T13:42:14.000Z","size":145,"stargazers_count":28,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-07-31T20:52:36.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"yob/graval","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koofr.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":"2014-04-22T19:17:18.000Z","updated_at":"2024-02-26T10:46:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/koofr/graval","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/koofr%2Fgraval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koofr%2Fgraval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koofr%2Fgraval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koofr%2Fgraval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koofr","download_url":"https://codeload.github.com/koofr/graval/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221498771,"owners_count":16833059,"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-07-30T20:01:44.479Z","updated_at":"2024-10-26T05:31:12.412Z","avatar_url":"https://github.com/koofr.png","language":"Go","readme":"# graval\n\nGo FTP server framework. By providing a simple driver class that\nresponds to a handful of methods you can have a complete FTP server.\n\nSome sample use cases include persisting data to:\n\n* an Amazon S3 bucket\n* a relational database\n* redis\n* memory\n\nFull documentation for the package is available on [godoc](http://godoc.org/github.com/koofr/graval)\n\n## Installation\n\n    go get github.com/koofr/graval\n\n## Example\n\n    go run example/example.go\n\n## Usage\n\nTo boot an FTP server you will need to provide a driver that speaks to your\npersistence layer - the required driver contract is listed below.\n\nDo not forget to seed math random in your main program. Otherwise passive ports will be predictable.\n\n    func main() {\n      rand.Seed(time.Now().UTC().UnixNano())\n      ...\n    }\n\n### The Driver Contract\n\nYour driver MUST implement a number of simple methods. You can view the required\ncontract in the package docs on [godoc](http://godoc.org/github.com/koofr/graval)\n\n## Contributors\n\n* James Healy \u003cjames@yob.id.au\u003e [http://www.yob.id.au](http://www.yob.id.au)\n* Luka Zakrajsek \u003cluka@koofr.net\u003e [http://koofr.net](http://koofr.net)\n\n## Warning\n\nFTP is an incredibly insecure protocol. Be careful about forcing users to authenticate\nwith a username or password that are important.\n\n## License\n\nThis library is distributed under the terms of the MIT License. See the included file for\nmore detail.\n\n## Contributing\n\nAll suggestions and patches welcome, preferably via a git repository I can pull from.\nIf this library proves useful to you, please let me know.\n\n## Further Reading\n\nThere are a range of RFCs that together specify the FTP protocol. In chronological\norder, the more useful ones are:\n\n* [http://tools.ietf.org/rfc/rfc959.txt](http://tools.ietf.org/rfc/rfc959.txt)\n* [http://tools.ietf.org/rfc/rfc1123.txt](http://tools.ietf.org/rfc/rfc1123.txt)\n* [http://tools.ietf.org/rfc/rfc2228.txt](http://tools.ietf.org/rfc/rfc2228.txt)\n* [http://tools.ietf.org/rfc/rfc2389.txt](http://tools.ietf.org/rfc/rfc2389.txt)\n* [http://tools.ietf.org/rfc/rfc2428.txt](http://tools.ietf.org/rfc/rfc2428.txt)\n* [http://tools.ietf.org/rfc/rfc3659.txt](http://tools.ietf.org/rfc/rfc3659.txt)\n* [http://tools.ietf.org/rfc/rfc4217.txt](http://tools.ietf.org/rfc/rfc4217.txt)\n\nFor an english summary that's somewhat more legible than the RFCs, and provides\nsome commentary on what features are actually useful or relevant 24 years after\nRFC959 was published:\n\n* [http://cr.yp.to/ftp.html](http://cr.yp.to/ftp.html)\n\nFor a history lesson, check out Appendix III of RCF959. It lists the preceding\n(obsolete) RFC documents that relate to file transfers, including the ye old\nRFC114 from 1971, \"A File Transfer Protocol\"\n\nThis library is heavily based on [em-ftpd](https://github.com/yob/em-ftpd), an FTPd\nframework with similar design goals within the ruby and EventMachine ecosystems. It\nworked well enough, but you know, callbacks and event loops make me something\nsomething.\n\nTLS implementation and some other commands are based on\n[pyftpdlib](https://code.google.com/p/pyftpdlib).\n","funding_links":[],"categories":["Networking","网络","网络相关库","網絡","Relational Databases","\u003cspan id=\"网络-networking\"\u003e网络 Networking\u003c/span\u003e"],"sub_categories":["Strings","音译","Uncategorized","Transliteration","暂未分类","高級控制台界面","Advanced Console UIs","交流","暂未分类这些库被放在这里是因为其他类别似乎都不适合。","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高级控制台界面"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoofr%2Fgraval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoofr%2Fgraval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoofr%2Fgraval/lists"}