ing
This commit is contained in:
parent
13d627dd6a
commit
1edc7cb582
|
@ -23,10 +23,6 @@ type ClientNotificationCodec struct {
|
|||
noti *clientNotification
|
||||
}
|
||||
|
||||
func (cnc *ClientNotificationCodec) HasResponse() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (cnc *ClientNotificationCodec) Method() string {
|
||||
return cnc.noti.Method
|
||||
}
|
||||
|
|
|
@ -10,6 +10,4 @@ type RegistryCodec interface {
|
|||
// Reads the request filling the RPC method args.
|
||||
ReadParams(args []interface{}) error
|
||||
Params() ([]string, error)
|
||||
|
||||
HasResponse() bool
|
||||
}
|
||||
|
|
|
@ -11,5 +11,6 @@ type ServerCodec interface {
|
|||
type ServerRequestCodec interface {
|
||||
RegistryCodec
|
||||
|
||||
HasResponse() bool
|
||||
NewResponse(reply interface{}, err error) ([]byte, error)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user