more explicity payload err and msg

This commit is contained in:
Ian Norden
2020-02-23 17:15:26 -06:00
parent 2fbf97da9d
commit 94aefafd7c
14 changed files with 88 additions and 40 deletions
+6 -2
View File
@@ -20,7 +20,9 @@ package shared
type RawChainData interface{}
// The concrete type underneath StreamedIPLDs should not be a pointer
type StreamedIPLDs interface{}
type StreamedIPLDs interface {
Height() int64
}
type CIDsForIndexing interface{}
@@ -29,7 +31,9 @@ type CIDsForFetching interface{}
type FetchedIPLDs interface{}
// The concrete type underneath StreamedIPLDs should not be a pointer
type ServerResponse interface{}
type ServerResponse interface {
Height() int64
}
type Gap struct {
Start uint64