Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenSearch ¶
type OpenSearch struct {
XMLName xml.Name `xml:"OpenSearchDescription"`
XMLNS string `xml:"xmlns,attr"`
ShortName string `xml:"ShortName"`
LongName string `xml:"LongName"`
Description string `xml:"Description"`
Image Image `xml:"Image"`
Site string `xml:"site"`
InputEncoding string `xml:"InputEncoding"`
OutputEncoding string `xml:"OutputEncoding"`
URL URL `xml:"Url"`
}
func NewOpenSearch ¶
func NewOpenSearch(user *twtr.User, client *middleware.Client) *OpenSearch
func (*OpenSearch) Render ¶
func (o *OpenSearch) Render(w http.ResponseWriter) error
func (*OpenSearch) ToString ¶
func (o *OpenSearch) ToString() (string, error)
func (*OpenSearch) WriteContentType ¶
func (o *OpenSearch) WriteContentType(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.