mirror of
https://github.com/majd/ipatool
synced 2026-11-26 17:27:52 +08:00
19 lines
341 B
Go
19 lines
341 B
Go
package http
|
|
|
|
import "context"
|
|
|
|
type Request struct {
|
|
Context context.Context
|
|
NoRedirects bool
|
|
Method string
|
|
URL string
|
|
Headers map[string]string
|
|
Payload Payload
|
|
ActionSigner ActionSigner
|
|
ResponseFormat ResponseFormat
|
|
}
|
|
|
|
type ActionSigner interface {
|
|
Sign(data []byte) ([]byte, error)
|
|
}
|