nitpick ordering
This commit is contained in:
		| @@ -9,11 +9,6 @@ import ( | ||||
| 	"github.com/youtube/vitess/go/rpcplus/pbrpc" | ||||
| ) | ||||
|  | ||||
| type CodecFunc func(io.ReadWriteCloser) rpc.ServerCodec | ||||
|  | ||||
| // for internal use only | ||||
| type codecFunc func(io.ReadWriteCloser) rpcplus.ServerCodec | ||||
|  | ||||
| var ( | ||||
| 	defaultCodecs = map[string]codecFunc{ | ||||
| 		"application/json":         jsonrpc.NewServerCodec, | ||||
| @@ -24,6 +19,11 @@ var ( | ||||
| 	} | ||||
| ) | ||||
|  | ||||
| type CodecFunc func(io.ReadWriteCloser) rpc.ServerCodec | ||||
|  | ||||
| // for internal use only | ||||
| type codecFunc func(io.ReadWriteCloser) rpcplus.ServerCodec | ||||
|  | ||||
| // wraps an net/rpc ServerCodec to provide an rpcplus.ServerCodec | ||||
| // temporary until we strip out use of rpcplus | ||||
| type rpcCodecWrap struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user