{"id":15074507,"url":"https://github.com/youngxhui/power","last_synced_at":"2026-01-04T03:03:30.540Z","repository":{"id":52649072,"uuid":"343276897","full_name":"youngxhui/power","owner":"youngxhui","description":"gRPC framework","archived":false,"fork":false,"pushed_at":"2021-04-26T01:30:29.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T00:11:18.128Z","etag":null,"topics":["grpc","grpc-framework","grpc-go"],"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/youngxhui.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":"2021-03-01T03:18:53.000Z","updated_at":"2021-04-26T01:30:32.000Z","dependencies_parsed_at":"2022-08-22T01:41:08.373Z","dependency_job_id":null,"html_url":"https://github.com/youngxhui/power","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngxhui%2Fpower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngxhui%2Fpower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngxhui%2Fpower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngxhui%2Fpower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngxhui","download_url":"https://codeload.github.com/youngxhui/power/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864822,"owners_count":20360360,"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":["grpc","grpc-framework","grpc-go"],"created_at":"2024-09-25T03:33:55.250Z","updated_at":"2026-01-04T03:03:25.507Z","avatar_url":"https://github.com/youngxhui.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POWER  [![Go](https://github.com/youngxhui/power/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/youngxhui/power/actions/workflows/go.yml)[![CodeQL](https://github.com/youngxhui/power/actions/workflows/codeql-analysis.yml/badge.svg?branch=master)](https://github.com/youngxhui/power/actions/workflows/codeql-analysis.yml)\n\n**⚠️WIP⚠️**\n\n开箱即用的 gRPC 框架。\n\n## 服务端\n\n构建简单的服务端\n\n```go\npackage main\n\nfunc main() {\n\n\tpower := core.Power{\n\t\tPort:       1234,\n\t\tServerName: \"Demo1\",\n\t}\n\n\tconfig := core.DefaultConfig()\n\n\ts := power.NewServer(config)\n\t// 注册proto\n\tproto.RegisterGreeterServer(s, \u0026GreeterService{})\n\t// 启动服务\n\tpower.Run()\n}\n```\n\n## 客户端\n\n```go\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungxhui%2Fpower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungxhui%2Fpower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungxhui%2Fpower/lists"}