16 lines
437 B
Go
16 lines
437 B
Go
package rpc
|
|
|
|
// abstractParams is a dummy type which just implements the DeferredDecoder type
|
|
type abstractParams struct {
|
|
}
|
|
|
|
// Unmarshal returns a not supported error
|
|
func (p *abstractParams) Unmarshal(dst interface{}) error {
|
|
return ErrMsgNotSupported
|
|
}
|
|
|
|
// IsEmpty returns if this struct is empty. Because this struct is embedded in other struct this struct is never empty.
|
|
func (p *abstractParams) IsEmpty() bool {
|
|
return false
|
|
}
|