-
-
Notifications
You must be signed in to change notification settings - Fork 0
HTTP Response Cache #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a591baf
start working on cache
gocanto 40baa0d
remove this
gocanto c4ec9e4
add etag header
gocanto e9535a5
wip
gocanto f5bf375
extract response type
gocanto 6648ad2
add json parser
gocanto 2fd58dd
doc
gocanto aec2d7a
move experience to the new abstraction
gocanto 2eefc53
move projects to the new abstraction
gocanto bab2f8a
move social to the new abstraction
gocanto 5d40fc0
move talks to the new abstraction
gocanto 35929f5
format
gocanto 6ef1e0a
format
gocanto 36439dd
wording
gocanto 184c56b
format
gocanto 521ba34
fix file name typo
gocanto 9b7755c
remove quotes
gocanto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| package payload | ||
|
|
||
| type ExperienceResponse struct { | ||
| Version string `json:"version"` | ||
| Data []ExperienceData `json:"data"` | ||
| } | ||
|
|
||
| type ExperienceData struct { | ||
| UUID string `json:"uuid"` | ||
| Company string `json:"company"` | ||
| EmploymentType string `json:"employment_type"` | ||
| LocationType string `json:"location_type"` | ||
| Position string `json:"position"` | ||
| StartDate string `json:"start_date"` | ||
| EndDate string `json:"end_date"` | ||
| Summary string `json:"summary"` | ||
| Country string `json:"country"` | ||
| City string `json:"city"` | ||
| Skills string `json:"skills"` | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| package payload | ||
|
|
||
| type ProfileResponse struct { | ||
| Version string `json:"version"` | ||
| Data ProfileData `json:"data"` | ||
| } | ||
|
|
||
| type ProfileData struct { | ||
| Nickname string `json:"nickname"` | ||
| Handle string `json:"handle"` | ||
| Name string `json:"name"` | ||
| Email string `json:"email"` | ||
| Profession string `json:"profession"` | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package payload | ||
|
|
||
| type ProjectsResponse struct { | ||
| Version string `json:"version"` | ||
| Data []ProjectsData `json:"data"` | ||
| } | ||
|
|
||
| type ProjectsData struct { | ||
| UUID string `json:"uuid"` | ||
| Language string `json:"language"` | ||
| Title string `json:"title"` | ||
| Excerpt string `json:"excerpt"` | ||
| URL string `json:"url"` | ||
| CreatedAt string `json:"created_at"` | ||
| UpdatedAt string `json:"updated_at"` | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| package payload | ||
|
|
||
| type SocialResponse struct { | ||
| Version string `json:"version"` | ||
| Data []SocialData `json:"data"` | ||
| } | ||
|
|
||
| type SocialData struct { | ||
| UUID string `json:"uuid"` | ||
| Handle string `json:"handle"` | ||
| URL string `json:"url"` | ||
| Description string `json:"description"` | ||
| Name string `json:"name"` | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| package payload | ||
|
|
||
| type TalksResponse struct { | ||
| Version string `json:"version"` | ||
| Data []TalksData `json:"data"` | ||
| } | ||
|
|
||
| type TalksData struct { | ||
| UUID string `json:"uuid"` | ||
| Title string `json:"title"` | ||
| Subject string `json:"subject"` | ||
| Location string `json:"location"` | ||
| URL string `json:"url"` | ||
| Photo string `json:"photo"` | ||
| CreatedAt string `json:"created_at"` | ||
| UpdatedAt string `json:"updated_at"` | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.