Top 0.6% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 5.3% forks on proxy.golang.org
Top 0.4% docker downloads on proxy.golang.org
proxy.golang.org : github.com/keegancsmith/rpc
Package rpc is a fork of the stdlib net/rpc which is frozen. It adds support for context.Context on the client and server, including propogating cancellation. See the README at https://github.com/keegancsmith/rpc for motivation why this exists. The API is exactly the same, except Client.Call takes a context.Context, and Server methods are expected to take a context.Context as the first argument. The following is the original rpc godoc updated to include context.Context. Additionally the wire protocol is unchanged, so is backwards compatible with net/rpc clients. Package rpc provides access to the exported methods of an object across a network or other I/O connection. A server registers an object, making it visible as a service with the name of the type of the object. After registration, exported methods of the object will be accessible remotely. A server may register multiple objects (services) of different types but it is an error to register multiple objects of the same type. Only methods that satisfy these criteria will be made available for remote access; other methods will be ignored: In effect, the method must look schematically like where T1 and T2 can be marshaled by encoding/gob. These requirements apply even if a different codec is used. (In the future, these requirements may soften for custom codecs.) The method's second argument represents the arguments provided by the caller; the third argument represents the result parameters to be returned to the caller. The method's return value, if non-nil, is passed back as a string that the client sees as if created by errors.New. If an error is returned, the reply parameter will not be sent back to the client. The server may handle requests on a single connection by calling ServeConn. More typically it will create a network listener and call Accept or, for an HTTP listener, HandleHTTP and http.Serve. A client wishing to use the service establishes a connection and then invokes NewClient on the connection. The convenience function Dial (DialHTTP) performs both steps for a raw network connection (an HTTP connection). The resulting Client object has two methods, Call and Go, that specify the service and method to call, a pointer containing the arguments, and a pointer to receive the result parameters. The Call method waits for the remote call to complete while the Go method launches the call asynchronously and signals completion using the Call structure's Done channel. Unless an explicit codec is set up, package encoding/gob is used to transport the data. Here is a simple example. A server wishes to export an object of type Arith: The server calls (for HTTP service): At this point, clients can see a service "Arith" with methods "Arith.Multiply" and "Arith.Divide". To invoke one, a client first dials the server: Then it can make a remote call: or A server implementation will often provide a simple, type-safe wrapper for the client. The net/rpc package is frozen and is not accepting new features.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/keegancsmith/rpc
Keywords:
go
, golang
, rpc
License: BSD-3-Clause
Latest release: over 4 years ago
First release: over 7 years ago
Namespace: github.com/keegancsmith
Dependent packages: 72
Dependent repositories: 139
Stars: 31 on GitHub
Forks: 16 on GitHub
Docker dependents: 24
Docker downloads: 26,474,356
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago
github.com/sourcegraph/zoekt v0.0.0-20240125093355-92cb8852b4d4
Fast trigram based code search143 versions - Latest release: over 1 year ago - 2 dependent packages - 50 dependent repositories - 217 stars on GitHub
go.f110.dev/mono v0.0.0-20240121132237-851817f1286a
May the code be with you46 versions - Latest release: over 1 year ago - 4 stars on GitHub
github.com/adityeah8969/raft v0.0.0-20231210125925-ebf3f04be902
Raft Consensus Algorithm in Go2 versions - Latest release: over 1 year ago - 0 stars on GitHub
forge.cadoles.com/arcad/edge v0.0.0-20231205214053-b9c08f647cff
4 versions - Latest release: over 1 year agogithub.com/icexin/brpc-go v0.0.0-20231007074820-74a54748db18
Go version of brpc baidu_std protocol implementation9 versions - Latest release: over 1 year ago - 7 stars on GitHub
github.com/xvandish/zoekt v0.0.0-20230809215004-b351aff12812
Fast trigram based code search3 versions - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/davejrt/zoekt v1.0.0
Fast trigram based code search1 version - Latest release: almost 2 years ago - 0 stars on GitHub
github.com/vito/bass-loop v0.0.0-20230526172310-c14c6dabec09
a continuous Bass service3 versions - Latest release: about 2 years ago - 16 stars on GitHub
github.com/pigeonligh/algo-simu v0.0.0-20230426051724-e962a0c0d669
to simulate steps of algorithms1 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/livebud/bud/example/hn v0.0.0-20230417051506-721420fadaf1 ๐ฐ
The Full-Stack Web Framework for Go1 version - Latest release: about 2 years ago - 5,392 stars on GitHub
github.com/meloalright/guora v1.0.1
๐๐ป A self-hosted Quora like web application written in Go ๅบไบ Golang ็ฑปไผผ็ฅไน็็งๆ้จ็ฝฒ้ฎ็ญๅบ็จ ๅ ๅซ้ฎ็ญใ่ฏ่ฎบใ็น่ตใ็ฎก็ๅ...2 versions - Latest release: over 2 years ago - 637 stars on GitHub
github.com/livebud/bud v0.2.8 ๐ฐ
The Full-Stack Web Framework for Go30 versions - Latest release: over 2 years ago - 5 dependent packages - 16 dependent repositories - 5,071 stars on GitHub
github.com/maksonlee/zoekt-1 v0.0.0-20230105150605-556319ca704c
1 version - Latest release: over 2 years agogithub.com/shinsuke-nara/echo-server v0.0.0-20220812055907-f928e90232ee
1 version - Latest release: almost 3 years ago - 0 stars on GitHubgithub.com/yingxuepeng/go-crd v0.1.2
go code review digest3 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/henrik242/zoekt v0.0.0-20220621113939-9a66a5781cc5
Fast trigram based code search2 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/flare-rpc/flare-go v0.2.1
4 versions - Latest release: about 3 years ago - 0 stars on GitHubgithub.com/flare-rpc/flarego v0.2.1
4 versions - Latest release: about 3 years ago - 0 stars on GitHubgithub.com/wizardishungry/roku v1.3.2
Roku ECP library written in Go3 versions - Latest release: over 3 years ago - 0 stars on GitHub
github.com/WIZARDISHUNGRY/roku v1.3.2
Package roku implements a library for interacting with Roku devices using the External Control Pr...3 versions - Latest release: over 3 years ago - 0 stars on GitHub
jonwillia.ms/roku v1.3.2
Package roku implements a library for interacting with Roku devices using the External Control Pr...3 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 1 stars on GitHub
github.com/pglet/pglet v0.7.0
Pglet - build internal web apps quickly in the language you already know!36 versions - Latest release: over 3 years ago - 581 stars on GitHub
github.com/AgentofAsgard/sg v0.0.0
Code Intelligence Platform1 version - Latest release: over 3 years ago - 0 stars on GitHub
sourcegraph.com/sourcegraph/sourcegraph v0.0.0 removed
1 version - Latest release: over 3 years agogithub.com/josephburnett/time-flies v0.0.0-20211028175123-43bab936f7f4
A simple time and focus tracking tool1 version - Latest release: over 3 years ago - 1 stars on GitHub
github.com/linuxfreak003/roku v0.0.0-20210124033322-eb6686701c63
Package roku implements a library for interacting with Roku devices using the External Control Pr...1 version - Latest release: over 4 years ago - 3 stars on GitHub
github.com/danielthatcher/spydom v0.2.2
A scanner that automates headless Chrome to record information about the DOM (and take screenshots).4 versions - Latest release: almost 5 years ago - 2 stars on GitHub
github.com/midokura/cloud-provider-edge v0.0.0-20191114160000-82bd775db0df
1 version - Latest release: over 5 years agogithub.com.cnpmjs.org/stamblerre/gocode.git v1.0.0 removed
1 version - Latest release: over 5 years agogithub.com/stamblerre/gocode v1.0.0
An autocompletion daemon for the Go programming language1 version - Latest release: over 5 years ago - 82 dependent packages - 87 dependent repositories - 400 stars on GitHub
github.com/quanhengzhuang/requestid v0.0.0-20190720153344-7be9b19732d9
Store the requestID of the goroutine context1 version - Latest release: almost 6 years ago - 3 dependent packages - 1 dependent repositories - 10 stars on GitHub
github.com/pwpon500/caplance v0.1.0
A go-based load balancer/traffic director1 version - Latest release: almost 6 years ago - 4 stars on GitHub
github.com/pawalt/caplance v0.1.0
A go-based load balancer/traffic director1 version - Latest release: almost 6 years ago - 4 stars on GitHub
github.com/ebracho/twitchbot v0.0.0-20190626000752-b760a27c21dc
Go module for building twitch bots2 versions - Latest release: almost 6 years ago - 1 stars on GitHub
github.com/nicholasjackson/periph-gpio-simulator v0.7.2
Simple GPIO simulator for Raspberry Pi and Periph.io8 versions - Latest release: about 6 years ago - 1 stars on GitHub
github.com/freecells/gowing v0.0.1
golang html template examples1 version - Latest release: about 6 years ago - 1 stars on GitHub
github.com/viniarck/fluxory v0.0.0-20190517230957-a00b93078503
:rocket: Async high-performance distributed OpenFlow framework in Go and Python1 version - Latest release: about 6 years ago - 0 stars on GitHub
github.com/keydotcat/server v0.0.12
An end-to-end opensource password manager12 versions - Latest release: about 6 years ago - 120 stars on GitHub
github.com/keydotcat/keycatd v0.0.12
An end-to-end opensource password manager12 versions - Latest release: about 6 years ago - 1 dependent repositories - 120 stars on GitHub
github.com/hellojukay/git-ignore v0.0.1
auto create git ignore file.1 version - Latest release: about 6 years ago - 0 stars on GitHub
github.com/automationcloud/client-go v0.0.1
1 version - Latest release: about 6 years ago - 1 dependent package - 1 dependent repositoriesgithub.com/foursquare/fsgo v0.0.0-20190226223109-673b0e9784b0
Reusable libraries for building Go services1 version - Latest release: over 6 years ago - 7 stars on GitHub
github.com/hatajoe/hooks v0.0.0-20190206162735-835eaf4cf1e6
hooks is a simple event dispatch handler package for making a bot1 version - Latest release: over 6 years ago - 1 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.