Skip to content

Commit 842e4b5

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Rob Pike <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]>
1 parent be2b809 commit 842e4b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/net/rpc/server.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
/*
66
Package rpc provides access to the exported methods of an object across a
7-
network or other I/O connection. A server registers an object, making it visible
7+
network or other I/O connection.
8+
9+
The net/rpc package is frozen and is not accepting new features.
10+
11+
A server registers an object, making it visible
812
as a service with the name of the type of the object. After registration, exported
913
methods of the object will be accessible remotely. A server may register multiple
1014
objects (services) of different types but it is an error to register multiple
@@ -121,8 +125,6 @@ or
121125
122126
A server implementation will often provide a simple, type-safe wrapper for the
123127
client.
124-
125-
The net/rpc package is frozen and is not accepting new features.
126128
*/
127129
package rpc
128130

0 commit comments

Comments
 (0)