Discover Packages
github.com/ahamtat/itvbackend
internal
app
model
package
Version:
v0.0.0-...-eee2b2e
Opens a new window with list of versions in this module.
Published: Jul 9, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FetchData struct {
Method string `json:"method"`
URL string `json:"url"`
Body string `json:"body,omitempty"`
}
FetchData from client (incoming) to external resource.
type Paginator struct {
Page int `json:"page"`
RequestsPerPage int `json:"requestsPerPage"`
}
type Request struct {
Fetch *FetchData `json:"fetch"`
Response *Response `json:"response"`
}
Request holds incoming and outgoing data.
type Response struct {
ID string `json:"id"`
Status int `json:"status"`
Length int64 `json:"length"`
}
Response data from external resource to client (outgoing).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.