response

package
v3.0.0-beta6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseHeaderMedia

type ResponseHeaderMedia struct {
	response.ResponseWork

	Connection         string `header:"Connection" json:"Connection"`                   //: close
	ContentType        string `header:"Content-Type" json:"Content-Type"`               //: image/jpeg
	ContentDisposition string `header:"Content-disposition" json:"Content-disposition"` //: attachment; filename="MEDIA_ID.jpg"
	Date               string `header:"Date" json:"Date"`                               //: Sun, 06 Jan 2013 10:20:18 GMT
	CacheControl       string `header:"Cache-Control" json:"Cache-Control"`             //: no-cache, must-revalidate
	ContentLength      string `header:"Content-Length" json:"Content-Length"`           //: 339721
	Content            string `header:"Content" json:"content"`
}

type ResponseUploadImage

type ResponseUploadImage struct {
	response.ResponseWork

	URL string `json:"url"`
}

type ResponseUploadMedia

type ResponseUploadMedia struct {
	response.ResponseWork

	Type      string `json:"type"`
	MediaID   string `json:"media_id"`
	CreatedAt string `json:"created_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL