mirror of
https://github.com/majd/ipatool
synced 2026-11-26 17:27:52 +08:00
12 lines
381 B
Go
12 lines
381 B
Go
package http
|
|
|
|
// Payload describes input for the request executor. Property lists are encoded
|
|
// by the Store framework; pre-encoded binary requests are supplied as raw data.
|
|
type Payload interface{ isPayload() }
|
|
|
|
type XMLPayload struct{ Content map[string]interface{} }
|
|
type RawPayload struct{ Content []byte }
|
|
|
|
func (*XMLPayload) isPayload() {}
|
|
func (*RawPayload) isPayload() {}
|