Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(di DownloadItem, res http.ResponseWriter, req *http.Request)
func HeadGet ¶
func HeadGet(di DownloadItem, res http.ResponseWriter, req *http.Request) error
Types ¶
type DownloadItem ¶
type Payload ¶
type Payload struct {
URI string `form:"uri" binding:"required"`
PublicKey string `form:"pubkey" binding:"-"`
Signature string `form:"signature" binding:"-"`
Payload string `form:"payload" binding:"-"`
RequestTime int64 `form:"requesttime" binding:"required"`
ExpiryTime int64 `form:"expirytime" binding:"required"`
}
func (*Payload) RawTextForSigning ¶
Click to show internal directories.
Click to hide internal directories.