aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2025-02-04 10:33:38 -0800
committerGopher Robot <gobot@golang.org>2025-02-04 21:26:47 -0800
commit842e4b5207003db692d72a1aeba4f164bbeb1c13 (patch)
treed10cfa20de17fc514e2e2a031186114a575a43ce /src
parentbe2b809e5b888ed0ee636f1e07340640ffd88842 (diff)
downloadgo-842e4b5207003db692d72a1aeba4f164bbeb1c13.tar.xz
net/rpc: move frozen notice to the start of the package doc
For #71559 Change-Id: I68b9518a26cab75789d596839267abab7997bc2c Reviewed-on: https://go-review.googlesource.com/c/go/+/646575 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Rob Pike <r@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/net/rpc/server.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/net/rpc/server.go b/src/net/rpc/server.go
index 1771726a93..4233a426fe 100644
--- a/src/net/rpc/server.go
+++ b/src/net/rpc/server.go
@@ -4,7 +4,11 @@
/*
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
+network or other I/O connection.
+
+The net/rpc package is frozen and is not accepting new features.
+
+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
@@ -121,8 +125,6 @@ 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.
*/
package rpc