fix a typo

This commit is contained in:
iamqizhao
2015-04-30 17:59:40 -07:00
parent c3da701487
commit c90971aee7

View File

@ -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 { func CustomCodec(codec Codec) ServerOption {
return func(o *options) { return func(o *options) {
o.codec = codec o.codec = codec