{"action":"closed","number":108,"pull_request":{"url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108","id":190664808,"html_url":"https://github.com/mxschmitt/golang-url-shortener/pull/108","diff_url":"https://github.com/mxschmitt/golang-url-shortener/pull/108.diff","patch_url":"https://github.com/mxschmitt/golang-url-shortener/pull/108.patch","issue_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/108","number":108,"state":"closed","locked":false,"title":"Clean up redis configuration","user":{"login":"memory","id":394064,"avatar_url":"https://avatars0.githubusercontent.com/u/394064?v=4","gravatar_id":"","url":"https://api.github.com/users/memory","html_url":"https://github.com/memory","followers_url":"https://api.github.com/users/memory/followers","following_url":"https://api.github.com/users/memory/following{/other_user}","gists_url":"https://api.github.com/users/memory/gists{/gist_id}","starred_url":"https://api.github.com/users/memory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memory/subscriptions","organizations_url":"https://api.github.com/users/memory/orgs","repos_url":"https://api.github.com/users/memory/repos","events_url":"https://api.github.com/users/memory/events{/privacy}","received_events_url":"https://api.github.com/users/memory/received_events","type":"User","site_admin":false},"body":"- put redis configs into their own struct\r\n- put a redisConf struct into the default config so that envstruct\r\n  will populate it\r\n- allow tweaking of retry, db index and read/write timeout settings\r\n- update example config.yaml\r\n\r\nThis is potentially a breaking change for anyone who's been using\r\nthe redis backend already, but maybe that's just me? :)","created_at":"2018-05-25T18:34:00Z","updated_at":"2018-05-25T19:32:40Z","closed_at":"2018-05-25T19:32:40Z","merged_at":"2018-05-25T19:32:39Z","merge_commit_sha":"7fd1287493a50c668cd8610222b6487c3a944dd2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108/commits","review_comments_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108/comments","review_comment_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/108/comments","statuses_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/statuses/f3f4ec5ed747f2f81a42e8fc543792d9fccf6b62","head":{"label":"OdenTech:redis-timeout","ref":"redis-timeout","sha":"f3f4ec5ed747f2f81a42e8fc543792d9fccf6b62","user":{"login":"OdenTech","id":13649333,"avatar_url":"https://avatars1.githubusercontent.com/u/13649333?v=4","gravatar_id":"","url":"https://api.github.com/users/OdenTech","html_url":"https://github.com/OdenTech","followers_url":"https://api.github.com/users/OdenTech/followers","following_url":"https://api.github.com/users/OdenTech/following{/other_user}","gists_url":"https://api.github.com/users/OdenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/OdenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OdenTech/subscriptions","organizations_url":"https://api.github.com/users/OdenTech/orgs","repos_url":"https://api.github.com/users/OdenTech/repos","events_url":"https://api.github.com/users/OdenTech/events{/privacy}","received_events_url":"https://api.github.com/users/OdenTech/received_events","type":"Organization","site_admin":false},"repo":{"id":131874244,"name":"golang-url-shortener","full_name":"OdenTech/golang-url-shortener","owner":{"login":"OdenTech","id":13649333,"avatar_url":"https://avatars1.githubusercontent.com/u/13649333?v=4","gravatar_id":"","url":"https://api.github.com/users/OdenTech","html_url":"https://github.com/OdenTech","followers_url":"https://api.github.com/users/OdenTech/followers","following_url":"https://api.github.com/users/OdenTech/following{/other_user}","gists_url":"https://api.github.com/users/OdenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/OdenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OdenTech/subscriptions","organizations_url":"https://api.github.com/users/OdenTech/orgs","repos_url":"https://api.github.com/users/OdenTech/repos","events_url":"https://api.github.com/users/OdenTech/events{/privacy}","received_events_url":"https://api.github.com/users/OdenTech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OdenTech/golang-url-shortener","description":"URL Shortener written in Golang using Bolt DB. Provides features such as Deletion, Expiration, OAuth and is of course Dockerizable.","fork":true,"url":"https://api.github.com/repos/OdenTech/golang-url-shortener","forks_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/forks","keys_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/teams","hooks_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/hooks","issue_events_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/issues/events{/number}","events_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/events","assignees_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/assignees{/user}","branches_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/branches{/branch}","tags_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/tags","blobs_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/git/refs{/sha}","trees_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/statuses/{sha}","languages_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/languages","stargazers_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/stargazers","contributors_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/contributors","subscribers_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/subscribers","subscription_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/subscription","commits_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/commits{/sha}","git_commits_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/git/commits{/sha}","comments_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/comments{/number}","issue_comment_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/issues/comments{/number}","contents_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/contents/{+path}","compare_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/merges","archive_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/downloads","issues_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/issues{/number}","pulls_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/pulls{/number}","milestones_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/milestones{/number}","notifications_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/labels{/name}","releases_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/releases{/id}","deployments_url":"https://api.github.com/repos/OdenTech/golang-url-shortener/deployments","created_at":"2018-05-02T15:57:49Z","updated_at":"2018-05-17T15:23:20Z","pushed_at":"2018-05-25T19:26:14Z","git_url":"git://github.com/OdenTech/golang-url-shortener.git","ssh_url":"git@github.com:OdenTech/golang-url-shortener.git","clone_url":"https://github.com/OdenTech/golang-url-shortener.git","svn_url":"https://github.com/OdenTech/golang-url-shortener","homepage":"https://so.sh0rt.cat","size":569,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mxschmitt:master","ref":"master","sha":"6dac9a7fcb02593d347d8ea55c0342775847ca04","user":{"login":"mxschmitt","id":17984549,"avatar_url":"https://avatars0.githubusercontent.com/u/17984549?v=4","gravatar_id":"","url":"https://api.github.com/users/mxschmitt","html_url":"https://github.com/mxschmitt","followers_url":"https://api.github.com/users/mxschmitt/followers","following_url":"https://api.github.com/users/mxschmitt/following{/other_user}","gists_url":"https://api.github.com/users/mxschmitt/gists{/gist_id}","starred_url":"https://api.github.com/users/mxschmitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxschmitt/subscriptions","organizations_url":"https://api.github.com/users/mxschmitt/orgs","repos_url":"https://api.github.com/users/mxschmitt/repos","events_url":"https://api.github.com/users/mxschmitt/events{/privacy}","received_events_url":"https://api.github.com/users/mxschmitt/received_events","type":"User","site_admin":false},"repo":{"id":108778149,"name":"golang-url-shortener","full_name":"mxschmitt/golang-url-shortener","owner":{"login":"mxschmitt","id":17984549,"avatar_url":"https://avatars0.githubusercontent.com/u/17984549?v=4","gravatar_id":"","url":"https://api.github.com/users/mxschmitt","html_url":"https://github.com/mxschmitt","followers_url":"https://api.github.com/users/mxschmitt/followers","following_url":"https://api.github.com/users/mxschmitt/following{/other_user}","gists_url":"https://api.github.com/users/mxschmitt/gists{/gist_id}","starred_url":"https://api.github.com/users/mxschmitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxschmitt/subscriptions","organizations_url":"https://api.github.com/users/mxschmitt/orgs","repos_url":"https://api.github.com/users/mxschmitt/repos","events_url":"https://api.github.com/users/mxschmitt/events{/privacy}","received_events_url":"https://api.github.com/users/mxschmitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mxschmitt/golang-url-shortener","description":"URL Shortener written in Golang using Bolt DB or Redis. Provides features such as Deletion, Expiration, OAuth and is of course Dockerizable.","fork":false,"url":"https://api.github.com/repos/mxschmitt/golang-url-shortener","forks_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/forks","keys_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/teams","hooks_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/hooks","issue_events_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/events{/number}","events_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/events","assignees_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/assignees{/user}","branches_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/branches{/branch}","tags_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/tags","blobs_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/statuses/{sha}","languages_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/languages","stargazers_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/stargazers","contributors_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/contributors","subscribers_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/subscribers","subscription_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/subscription","commits_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/contents/{+path}","compare_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/merges","archive_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/downloads","issues_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues{/number}","pulls_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls{/number}","milestones_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/milestones{/number}","notifications_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/labels{/name}","releases_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/releases{/id}","deployments_url":"https://api.github.com/repos/mxschmitt/golang-url-shortener/deployments","created_at":"2017-10-29T22:53:25Z","updated_at":"2018-05-25T19:20:09Z","pushed_at":"2018-05-25T19:32:39Z","git_url":"git://github.com/mxschmitt/golang-url-shortener.git","ssh_url":"git@github.com:mxschmitt/golang-url-shortener.git","clone_url":"https://github.com/mxschmitt/golang-url-shortener.git","svn_url":"https://github.com/mxschmitt/golang-url-shortener","homepage":"https://so.sh0rt.cat","size":564,"stargazers_count":20,"watchers_count":20,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":6,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108"},"html":{"href":"https://github.com/mxschmitt/golang-url-shortener/pull/108"},"issue":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/108"},"comments":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/mxschmitt/golang-url-shortener/statuses/f3f4ec5ed747f2f81a42e8fc543792d9fccf6b62"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mxschmitt","id":17984549,"avatar_url":"https://avatars0.githubusercontent.com/u/17984549?v=4","gravatar_id":"","url":"https://api.github.com/users/mxschmitt","html_url":"https://github.com/mxschmitt","followers_url":"https://api.github.com/users/mxschmitt/followers","following_url":"https://api.github.com/users/mxschmitt/following{/other_user}","gists_url":"https://api.github.com/users/mxschmitt/gists{/gist_id}","starred_url":"https://api.github.com/users/mxschmitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxschmitt/subscriptions","organizations_url":"https://api.github.com/users/mxschmitt/orgs","repos_url":"https://api.github.com/users/mxschmitt/repos","events_url":"https://api.github.com/users/mxschmitt/events{/privacy}","received_events_url":"https://api.github.com/users/mxschmitt/received_events","type":"User","site_admin":false},"comments":1,"review_comments":11,"maintainer_can_modify":false,"commits":3,"additions":44,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"mxschmitt"}}