소스 검색

Simply interfaces slightly

Evan Huus 12 년 전
부모
커밋
738410b0c0
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      request.go

+ 2 - 6
request.go

@@ -1,16 +1,12 @@
 package kafka
 
-type requestAPI interface {
+type requestEncoder interface {
+	encoder
 	key() int16
 	version() int16
 	expectResponse() bool
 }
 
-type requestEncoder interface {
-	encoder
-	requestAPI
-}
-
 type request struct {
 	correlation_id int32
 	id             *string