From c90971aee74b1f490083ad84b1d948242de5776e Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Thu, 30 Apr 2015 17:59:40 -0700 Subject: [PATCH] fix a typo --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 700e4563..c8e677e2 100644 --- a/server.go +++ b/server.go @@ -101,7 +101,7 @@ func Handshaker(f func(net.Conn) error) ServerOption { } } -// CustomeCodec returns a ServerOption that sets a codec for message marshaling and unmarshaling. +// CustomCodec returns a ServerOption that sets a codec for message marshaling and unmarshaling. func CustomCodec(codec Codec) ServerOption { return func(o *options) { o.codec = codec