{"id":21690521,"url":"https://github.com/oli51467/simple-godis","last_synced_at":"2025-07-18T11:08:52.961Z","repository":{"id":182853589,"uuid":"669069232","full_name":"Oli51467/simple-godis","owner":"Oli51467","description":"基于Golang实现Redis服务器，支持RESP协议","archived":false,"fork":false,"pushed_at":"2023-11-22T07:16:00.000Z","size":86,"stargazers_count":20,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T09:45:00.663Z","etag":null,"topics":["golang","redis","redis-server","tcp-server"],"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/Oli51467.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":"2023-07-21T09:11:56.000Z","updated_at":"2025-03-16T06:03:09.000Z","dependencies_parsed_at":"2023-11-22T08:39:45.598Z","dependency_job_id":null,"html_url":"https://github.com/Oli51467/simple-godis","commit_stats":null,"previous_names":["oli51467/simple-godis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Oli51467/simple-godis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fsimple-godis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fsimple-godis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fsimple-godis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fsimple-godis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oli51467","download_url":"https://codeload.github.com/Oli51467/simple-godis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fsimple-godis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265746858,"owners_count":23821751,"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":["golang","redis","redis-server","tcp-server"],"created_at":"2024-11-25T17:31:40.352Z","updated_at":"2025-07-18T11:08:52.902Z","avatar_url":"https://github.com/Oli51467.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 使用Go语言实现Redis\n\n- 通信协议：```Redis Serialization Protocol```\n- Go版本 ```1.17```\n\n#### 技术栈\n\n- Epoll\n- TCP\n- GC\n- HashMap\n- 协程\n- 锁\n- defer\n\n#### 实现\n\n- 使用TCP协议的应用层服务器\n- Redis协议解析器\n- 内存数据库\n- Redis持久化\n- Redis集群\n\n#### 指令\n\n- Keys\n\n```keys```\n```exists```\n```del```\n```type```\n```rename```\n```renamenx```\n```flush```\n\n- Strings\n\n```get```\n```set```\n```getset```\n```strlen```\n```setnx```\n```getdel```\n```append```\n```incr```\n```decr```\n\n- Common\n\n```ping```\n```exit```\n\n- Set\n\n```sAdd```\n```sIsMember```\n```sRem```\n```sMembers```\n```sCard```\n```sInter```\n```sUnion```\n```sDiff```\n```sPop```\n\n- List\n\n```lpush```\n```lpushx```\n```rpush```\n```rpushx```\n```lpop```\n```rpop```\n```lindex```\n```lset```\n```lrange```\n```lrem```\n```llen```\n\n- Hash\n\n```hset```\n```hsetnx```\n```hget```\n```hdel```\n```hexists```\n```hmset```\n```hmget```\n```hmdel```\n```hkeys```\n```hvalues```\n```hgetall```\n```hlen```\n```hstrlen```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli51467%2Fsimple-godis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foli51467%2Fsimple-godis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli51467%2Fsimple-godis/lists"}