decodeFunc -> dec

This commit is contained in:
iamqizhao
2015-10-01 16:26:00 -07:00
parent 1d81cf4f22
commit a15e3b9562
7 changed files with 17 additions and 17 deletions

View File

@ -52,7 +52,7 @@ import (
"google.golang.org/grpc/transport"
)
type methodHandler func(srv interface{}, ctx context.Context, decodeFunc func(interface{}) error) (interface{}, error)
type methodHandler func(srv interface{}, ctx context.Context, dec func(interface{}) error) (interface{}, error)
// MethodDesc represents an RPC service's method specification.
type MethodDesc struct {