Discover Packages
github.com/FoxComm/highlander
remote
responses
package
Version:
v0.0.0-...-1aaf8f9
Opens a new window with list of versions in this module.
Published: Aug 24, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Channel struct {
ID int `json:"id"`
Name string `json:"name"`
PurchaseOnFox bool `json:"purchaseOnFox"`
CreatedAt time .Time `json:"createdAt"`
UpdatedAt time .Time `json:"updatedAt"`
}
type Response struct {
StatusCode int
Body interface{}
}
Response is a generic HTTP response type.
func NewResponse(statusCode int , body interface{}) *Response
NewResponse creates a new response object.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.