diff options
Diffstat (limited to 'libgo/go/net/rpc/server.go')
-rw-r--r-- | libgo/go/net/rpc/server.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/go/net/rpc/server.go b/libgo/go/net/rpc/server.go index cff32413a34..18ea629b0d6 100644 --- a/libgo/go/net/rpc/server.go +++ b/libgo/go/net/rpc/server.go @@ -23,7 +23,7 @@ func (t *T) MethodName(argType T1, replyType *T2) error - where T, T1 and T2 can be marshaled by encoding/gob. + 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.) @@ -55,6 +55,8 @@ package server + import "errors" + type Args struct { A, B int } @@ -119,6 +121,8 @@ 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 |