{"id":15077745,"url":"https://github.com/daheige/gmicro","last_synced_at":"2025-04-10T19:43:00.299Z","repository":{"id":50466433,"uuid":"275114790","full_name":"daheige/gmicro","owner":"daheige","description":"golang grpc micro framework.","archived":false,"fork":false,"pushed_at":"2025-03-13T02:14:07.000Z","size":654,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T17:21:21.986Z","etag":null,"topics":["gmicro","go","grpc","grpc-framework","grpc-gateway","grpc-tools","micro","microservice"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/daheige/gmicro/v2","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/daheige.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":"2020-06-26T09:02:28.000Z","updated_at":"2025-03-05T15:28:15.000Z","dependencies_parsed_at":"2023-10-12T13:03:33.222Z","dependency_job_id":"e03c31e9-9c96-44e4-abb5-a8fdb5d4b0b7","html_url":"https://github.com/daheige/gmicro","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daheige%2Fgmicro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daheige%2Fgmicro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daheige%2Fgmicro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daheige%2Fgmicro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daheige","download_url":"https://codeload.github.com/daheige/gmicro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281420,"owners_count":21077423,"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":["gmicro","go","grpc","grpc-framework","grpc-gateway","grpc-tools","micro","microservice"],"created_at":"2024-09-25T04:31:28.278Z","updated_at":"2025-04-10T19:43:00.289Z","avatar_url":"https://github.com/daheige.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gmicro\n  \n    Golang grpc micro library.\n    Microservice prototype with gRPC + http +h2c+ gRPC gateway + logger + prometheus.\n    Require Go version \u003e= 1.23.0\n    Reference project：https://github.com/dakalab/micro\n\n# supported features\n\n    Golang grpc microservice scaffolding mainly encapsulates some components of grpc,\n    log tracking, link tracking, traffic h2c conversion, service monitoring prometheus\n    and other functions,as far as possible to maintain the kiss principle, \n    so that these components are pluggable of.\n\n    The framework supports 2 different methods such as http api, grpc server pb. \n    The protocol called by the client can be http or grpc pb format. \n    At the same time,it supports the same port, while providing \n    http services (supporting http1.x protocol requests) and the processing \n    capabilities of grpc server.\n\n# go version\n    if you use go version \u003c 1.16,please use gmicro tag v1.3.3\n    else use gmicro tag v2.3.0 higher version.\n\n# installation\n  \n  go get -v github.com/daheige/gmicro/v2\n  \n# quick start\n    \n    please see example demo\n\n# grpc-go\n    \nhttps://github.com/grpc/grpc-go\n\n# grpc-gateway doc\n\nhttps://grpc-ecosystem.github.io/grpc-gateway/\n\n# gmicro action\n\n- https://github.com/daheige/athena\n- https://github.com/daheige/goapp\n- https://github.com/daheige/gmicro-demo\n\nOld projects can continue to use the v1 version, and new projects can start to use the v2 version.\nNote that the gmicro address has changed, and the v2 version is github.com/daheige/gmicro/v2\n\n# change log\n| options           | desc                                | time       |\n|:------------------|:------------------------------------|:-----------|\n| go mod update     | update grpc version to v1.70.0      | 2025-03-05 |\n| fix shutdown func | fix bug                             | 2025-03-05 |\n| go version        | Require Go version \u003e= v1.23.0       | 2025-03-05 |\n\n| options           | desc                                     | time       |\n|:------------------|:-----------------------------------------|:-----------|\n| go mod update     | update grpc version to v1.60.1           | 2024-01-10 |\n| grpc nodejs tools | update grpc nodejs client code generated | 2024-01-10 |\n| grpc mac tools    | add mac grpc install shell               | 2024-01-10 |\n\n| options          | desc                                  | time       |\n|:-----------------|:--------------------------------------|:-----------|\n| go mod update    | update grpc mod                       | 2023-06-04 |\n| grpc metadata    | fix request md for RequestInterceptor | 2023-06-04 |\n| add x-request-id | fix request x-request-id from md      | 2023-06-04 |\n\n| options         | desc                 | time       |\n|:----------------|:---------------------|:-----------|\n| grpc tools      | update docs          | 2022-05-15 |\n| grpc dockerfile | update go grpc tools | 2022-05-15 |\n\n| options         | desc                                      | time       |\n|:----------------|:------------------------------------------|:-----------|\n| grpc gateway    | upgrade grpc gateway to v2.10.0           | 2022-05-11 |\n| grpc            | upgrade go grpc to v1.46.0                | 2022-05-11 |\n| protobuf        | upgrade protobuf to v1.28.0               | 2022-05-11 |\n| grpc dockerfile | upgrade go to v1.16.15 and protoc v3.15.8 | 2022-05-11 |\n\n| options  | desc                              | time       |\n| :-----       |:----------------------------------|:-----------|\n| grpc gateway | upgrade grpc gateway to v2.4.0 | 2021-06-19 |\n| grpc         | upgrade go grpc to v1.38.0 | 2021-06-19 |\n| protobuf     | upgrade protobuf to v1.26.0 | 2021-06-19 |\n\n# grpc tools dockerfile\nhttps://github.com/daheige/gmicro-grpc-tools\ngmicro v2版本对应的grpc v1.60.1 待更新。。。\n\n# install grpc tools\n```shell\nsh example/bin/grpc_tools.sh\n```\n\n# Google APIs\n\n    # googleapis link:https://github.com/googleapis/googleapis\n    api/rpc link: https://github.com/googleapis/googleapis/tree/master/google\n\n    ============\n    \n    Project: Google APIs\n    URL: https://github.com/google/googleapis\n    Revision: 3544ab16c3342d790b00764251e348705991ea4b\n    License: Apache License 2.0\n    \n    \n    Imported Files\n    ---------------\n    \n    - google/api/annotations.proto\n    - google/api/http.proto\n    - google/api/httpbody.proto\n    \n    \n    Generated Files\n    ----------------\n    \n    They are generated from the .proto files by protoc-gen-go.\n    - google/api/annotations.pb.go\n    - google/api/http.pb.go\n\n# License\n\n  MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaheige%2Fgmicro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaheige%2Fgmicro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaheige%2Fgmicro/lists"}