Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: 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.
6 versions
Latest release: over 3 years ago
72 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/keegancsmith/rpc
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/keegancsmith%2Frpc
Dependent Repos 139
gifhuppp/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 639 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
f110/mono
May the code be with you- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 62 MB - Last synced: 6 days ago - Pushed: 6 days ago
uhthomas/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 812 MB - Last synced: 11 months ago - Pushed: 12 months ago
pglet/pglet 📦
Pglet - build internal web apps quickly in the language you already know!- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 1.23 MB - Last synced: 2 months ago - Pushed: over 1 year ago
hzylyh/TestAdmin
vuejs + golang实现的测试平台- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 2.47 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
WowVeryLogin/terraform-provider-cloudflare Fork of cloudflare/terraform-provider-cloudflare
Cloudflare Terraform Provider- v1.1.0 tools/go.mod
- v1.1.0 tools/go.sum
Size: 44.6 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
prince1809/sourcegraph
- v1.1.0 go.sum
Size: 8.53 MB - Last synced: about 2 months ago - Pushed: over 1 year ago
2080524785/Go_StudyProject
- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 2.63 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
remko/dicewords
Generate DiceWare word lists- v1.1.0 go.sum
Size: 23.5 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
kjunu/hello
- v1.3.0 golang/cli/go.mod
- v1.1.0 golang/cli/go.sum
- v1.3.0 golang/cli/go.sum
Size: 4.27 MB - Last synced: 12 months ago - Pushed: about 1 year ago
qwilr/terraform-provider-cloudflare Fork of cloudflare/terraform-provider-cloudflare
Cloudflare Terraform Provider- v1.1.0 tools/go.mod
- v1.1.0 tools/go.sum
Size: 31 MB - Last synced: 9 months ago - Pushed: 9 months ago
fakecoinbase/andy129hubslashhello
This is your first repository- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 323 MB - Last synced: about 2 months ago - Pushed: about 1 year ago
HDYS-TTBYS/my-app
- v1.1.0 go/go.sum
Size: 1.09 MB - Last synced: about 1 year ago - Pushed: about 2 years ago
Alekseyya/GoYapart
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 134 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
caioeverest/ingresso-watcher
- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 1.67 MB - Last synced: 2 months ago - Pushed: about 1 year ago
ajeyln/golang_crudapi
- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 6.26 MB - Last synced: about 1 year ago - Pushed: about 2 years ago
Thauan1995/ProjetoX
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 129 MB - Last synced: about 1 month ago - Pushed: about 2 years ago
wakabaseisei/run-api
- v1.1.0 src/go.mod
- v1.1.0 src/go.sum
Size: 4.22 MB - Last synced: about 1 year ago - Pushed: about 2 years ago
banna2019/golang
banna golang project- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 408 MB - Last synced: about 1 year ago - Pushed: about 2 years ago
stomy13/webpush-sample
- v1.1.0 backend/go.sum
Size: 288 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago
sourcegraph/sourcegraph
Code AI platform with Code Search & Cody- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 1.12 GB - Last synced: 7 days ago - Pushed: 7 days ago
rkamisetti792/devspace Fork of devspace-sh/devspace
DevSpace - The Fastest Kubernetes Development Workflow ⚡ Automate your deployment workflow with DevSpace and build applications directly inside Kubernetes.- v1.1.0 go.mod
- v1.1.0 go.sum
- v1.1.0 sync/stub/go.sum
Size: 318 MB - Last synced: 6 days ago - Pushed: 6 days ago
Igorok/i-go-go
Hobby project, golang- v1.1.0 go.sum
Size: 163 KB - Last synced: 21 days ago - Pushed: over 3 years ago
SinisterMinister/currencytrader
Framework for trading currencies- v1.1.0 examples/orderlogger/go.sum
- v1.1.0 examples/tickerlogger/go.sum
- v1.1.0 go.sum
Size: 2.2 MB - Last synced: 4 months ago - Pushed: over 2 years ago
SinisterMinister/moneytree
GROW PHAT STACKS- v1.1.0 go.sum
Size: 6.25 MB - Last synced: 10 months ago - Pushed: 11 months ago
qwertyuiopasdfghjklzxcvbnm0987654321/user-manager Fork of 1005281342/user-manager
- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 38.1 KB - Last synced: 8 months ago - Pushed: about 1 year ago
meloalright/guora
🖖🏻 A self-hosted Quora like web application written in Go 基于 Golang 类似知乎的私有部署问答应用 包含问答、评论、点赞、管理后台等功能- v1.2.0 go.mod
- v1.1.0 go.sum
- v1.2.0 go.sum
Size: 10.3 MB - Last synced: 26 days ago - Pushed: over 1 year ago
aboyett/sourcegraph
A fork of https://github.com/sourcegraph/sourcegraph- v1.1.0 go.sum
Last synced: about 1 year ago
redcraft-org/redcraft_server_management
A Minecraft server manager for linux, also known as rcsm- v1.1.0 go.sum
Size: 127 KB - Last synced: about 1 month ago - Pushed: about 1 month ago
leaderdevops/devspace Fork of learndevops0/devspace
DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.- v1.1.0 go.sum
Size: 353 MB - Last synced: 6 months ago - Pushed: 6 months ago
cloudflare/terraform-provider-cloudflare
Cloudflare Terraform Provider- v1.1.0 tools/go.mod
- v1.1.0 tools/go.sum
Size: 44.9 MB - Last synced: 26 days ago - Pushed: 26 days ago
markbates/myvim
My VIM setup. Use at your own risk.- v1.1.0 go.sum
Size: 15 MB - Last synced: 26 days ago - Pushed: over 4 years ago
devfajar/go_project
My Golang project- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 76.3 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
BTFProdigy/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)- v1.3.0 go.mod
- v1.1.0 go.sum
- v1.3.0 go.sum
Size: 511 MB - Last synced: about 2 months ago - Pushed: about 2 months ago
mfm646/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)- v1.3.0 go.mod
- v1.1.0 go.sum
- v1.3.0 go.sum
Size: 502 MB - Last synced: about 2 months ago - Pushed: about 2 months ago
lin-sel/swabhaw
- v1.1.0 go/pkg/mod/github.com/stamblerre/[email protected]/go.mod
- v1.1.0 go/pkg/mod/github.com/stamblerre/[email protected]/go.sum
Size: 59.2 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
farizree/apigopodcast
- v1.1.0 go.sum
Size: 327 MB - Last synced: 8 months ago - Pushed: about 3 years ago
livebud/bud
The Full-Stack Web Framework for Go- v1.3.0 example/hn/go.sum
- v1.3.0 go.mod
- v1.3.0 go.sum
Size: 25.1 MB - Last synced: 27 days ago - Pushed: 6 months ago
gavatron90/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search and navigation tool (self-hosted)- v1.1.0 go.sum
Size: 678 MB - Last synced: 5 months ago - Pushed: 5 months ago
neiva098/internship-timesheet
Robot for time notes- v1.1.0 go.sum
Size: 8.79 KB - Last synced: about 1 year ago - Pushed: about 3 years ago
TheDahv/keyword-cluster-finder
- v1.1.0 go.sum
Size: 56.6 KB - Last synced: about 1 month ago - Pushed: almost 3 years ago
jrboelens/multilimiter
Combined rate and concurrency limiter for Go- v1.1.0 go.sum
Size: 27.3 KB - Last synced: about 1 month ago - Pushed: about 4 years ago
danielthatcher/spydom
A scanner that automates headless Chrome to record information about the DOM (and take screenshots).- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 50.8 KB - Last synced: about 2 months ago - Pushed: over 3 years ago
quanhengzhuang/requestid
Store the requestID of the goroutine context- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 17.6 KB - Last synced: 10 months ago - Pushed: almost 5 years ago
whilp/world
🏡 Extreme dotfiles, all reproducible everything, a model home.- v1.1.0 go.sum
Size: 1.48 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
automationcloud/job-runner
- v1.1.0 go.sum
Size: 39.1 KB - Last synced: 11 months ago - Pushed: about 5 years ago
redblue9771/WSN-Web
这是一个学校无线传感网课程设计,基于 WebSocket 实现的实时数据显示- v1.1.0 go.mod
- v1.1.0 go.sum
Size: 17.3 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
wooln/DataGovernanceLab
- v1.1.0 Go/foo.client/go.mod
- v1.1.0 Go/foo.client/go.sum
Size: 85.9 KB - Last synced: 2 months ago - Pushed: over 1 year ago
drohnow/sourcegraph
Universal code search (self-hosted)- v1.3.0 go.mod
- v1.1.0 go.sum
- v1.3.0 go.sum
Last synced: over 1 year ago
josephburnett/time-flies
A simple time and focus tracking tool- v1.3.0 go.mod
- v1.1.0 go.sum
- v1.2.0 go.sum
- v1.3.0 go.sum
Size: 745 KB - Last synced: 11 months ago - Pushed: over 2 years ago
fwang2/pi
A Go implementation of parallel tree walk and file system tools- v1.1.0 go.sum
Size: 183 KB - Last synced: 4 months ago - Pushed: almost 4 years ago
dairyo/echo-server
- v1.3.0 go.mod
- v1.1.0 go.sum
Size: 45.9 KB - Last synced: 7 months ago - Pushed: almost 2 years ago