mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
12 lines
203 B
Go
12 lines
203 B
Go
package peer_protocol
|
|
|
|
import "fmt"
|
|
|
|
type RequestSpec struct {
|
|
Index, Begin, Length Integer
|
|
}
|
|
|
|
func (me RequestSpec) String() string {
|
|
return fmt.Sprintf("{%d %d %d}", me.Index, me.Begin, me.Length)
|
|
}
|