Top 0.6% dependent packages on proxy.golang.org
Top 1.6% dependent repos on proxy.golang.org
Top 5.5% forks on proxy.golang.org
Top 1.8% docker downloads on proxy.golang.org
proxy.golang.org : github.com/chai2010/protorpc
Package protorpc implements a Protobuf-RPC ClientCodec and ServerCodec for the rpc package. To install it, you must first have Go (version 1) installed (see http://golang.org/doc/install). Next, install the standard protocol buffer implementation from http://github.com/google/protobuf/; you must be running version 2.3 or higher. Finally run to install the support library and protocol compiler. Here is a simple proto file("arith.pb/arith.proto"): Then use "protoc-gen-go" to generate "arith.pb.go" file: Use "protoc-gen-protorpc" to generate "arith.pb.protorpc.go" file (include stub code): The server calls (for TCP service): At this point, clients can see a service "Arith" with methods "ArithService.Multiply" and "ArithService.Divide". To invoke one, a client first dials the server: Then it can make a remote call with stub: More example: Report bugs to <chaishushan@gmail.com>. Thanks!
      Registry
      -
      Source
      - Documentation
    - JSON
    - codemeta.json
    
    purl: pkg:golang/github.com/chai2010/protorpc
      
License: BSD-3-Clause
        
Latest release: over 4 years ago
        
First release: over 7 years ago
      
Namespace: github.com/chai2010
      
Dependent packages: 71
      
Dependent repositories: 11
    
      
Stars: 59 on GitHub
      
Forks: 15 on GitHub
      
Docker dependents: 4
      
Docker downloads: 1,025
      
See more repository details: repos.ecosyste.ms
      
Last synced: about 12 hours ago