{"id":43141298,"url":"https://github.com/huangjunwen/nproto","last_synced_at":"2026-01-31T22:39:56.142Z","repository":{"id":57486873,"uuid":"142721665","full_name":"huangjunwen/nproto","owner":"huangjunwen","description":"Easy to use communication (e.g. rpc/msg/...) components.","archived":false,"fork":false,"pushed_at":"2024-03-13T21:31:46.000Z","size":1988,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"v2","last_synced_at":"2024-06-20T12:07:22.537Z","etag":null,"topics":["binlog","cdc","msgqueue","mysql","nats-server","nats-streaming-server","protocol-buffer","rpc-library"],"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/huangjunwen.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":"2018-07-29T01:25:58.000Z","updated_at":"2022-02-12T00:18:48.000Z","dependencies_parsed_at":"2022-09-01T22:51:22.062Z","dependency_job_id":null,"html_url":"https://github.com/huangjunwen/nproto","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/huangjunwen/nproto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangjunwen%2Fnproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangjunwen%2Fnproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangjunwen%2Fnproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangjunwen%2Fnproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huangjunwen","download_url":"https://codeload.github.com/huangjunwen/nproto/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangjunwen%2Fnproto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28958348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T22:20:19.638Z","status":"ssl_error","status_checked_at":"2026-01-31T22:18:07.061Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["binlog","cdc","msgqueue","mysql","nats-server","nats-streaming-server","protocol-buffer","rpc-library"],"created_at":"2026-01-31T22:39:55.443Z","updated_at":"2026-01-31T22:39:56.137Z","avatar_url":"https://github.com/huangjunwen.png","language":"Go","readme":"# NProto\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/huangjunwen/nproto)](https://goreportcard.com/report/github.com/huangjunwen/nproto)\n[![Build Status](https://travis-ci.org/huangjunwen/nproto.svg?branch=v2)](https://travis-ci.org/huangjunwen/nproto) \n[![codecov](https://codecov.io/gh/huangjunwen/nproto/branch/v2/graph/badge.svg)](https://codecov.io/gh/huangjunwen/nproto/branch/v2)\n\nEasy to use communication (e.g. rpc/msg/...) components.\n\nThis is the second major version (v2). Compare to v1, v2 has re-designed high level interfaces:\nThough it's still mainly focus on [**n**ats](https://nats.io) + [**proto**buf](https://developers.google.com/protocol-buffers),\nbut it's not force to. It's totally ok for implementations to use other encoding schemas (e.g. `json`, `msgpack` ...) \nor use other transports (e.g. `http`).\n\n## Packages\n\n- [x] [rpc](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/rpc?tab=doc): High level types/interfaces for rpc server/client implementations.\n- [x] [msg](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/msg?tab=doc): High level types/interfaces for msg publisher/subscriber implementations.\n- [x] [md](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/md?tab=doc): Meta data types.\n- [x] [enc](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/enc?tab=doc): Data encoding/decoding type.\n- [x] [natsrpc](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/natsrpc?tab=doc): Rpc server/client implementation using nats as transport.\n- [x] [stanmsg](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/stanmsg?tab=doc): Auto reconnection/resubscription client for nats-streaming and msg publisher/subscriber implementation.\n- [x] [binlogmsg](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/binlogmsg?tab=doc): 'Publish' (store) messages to MySQL8 tables then flush to downstream publisher using binlog notification.\n- [x] [tracing](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/tracing?tab=doc): Opentracing middlewares.\n- [x] [protoc-gen-nproto2](https://pkg.go.dev/github.com/huangjunwen/nproto/v2/protoc-gen-nproto2?tab=doc): Stub code generator for protobuf.\n\n## Examples\n\nSee `examples` directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangjunwen%2Fnproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuangjunwen%2Fnproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangjunwen%2Fnproto/lists"}