response

package
v3.0.0-...-471bf3a Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 1 Imported by: 0

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

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