Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is a set of options to apply to requests
func (Client) Get ¶
Get performs requests for "emojis/get"
Get emojis.
GET /emojis
https://developer.github.com/v3/emojis/#get-emojis
Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
type GetReq ¶
type GetReq struct {
// contains filtered or unexported fields
}
GetReq is request data for Client.Get
https://developer.github.com/v3/emojis/#get-emojis
Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
func (*GetReq) HTTPRequest ¶
HTTPRequest builds an *http.Request. Non-nil errors will have the type *requests.RequestError.
type GetResponse ¶
type GetResponse struct { Data GetResponseBody // contains filtered or unexported fields }
GetResponse is a response for Get
https://developer.github.com/v3/emojis/#get-emojis
func (*GetResponse) HTTPResponse ¶
func (r *GetResponse) HTTPResponse() *http.Response
HTTPResponse returns the *http.Response
func (*GetResponse) ReadResponse ¶
func (r *GetResponse) ReadResponse(resp *http.Response) error
ReadResponse reads an *http.Response. Non-nil errors will have the type octo.ResponseError.
type GetResponseBody ¶
GetResponseBody is a response body for Get