{"action":"created","comment":{"url":"https://api.github.com/repos/mondough/typhon/pulls/comments/72131410","id":72131410,"diff_hunk":"@@ -0,0 +1,108 @@\n+package typhon\n+\n+import (\n+\t\"fmt\"\n+\t\"net/http\"\n+\n+\t\"github.com/julienschmidt/httprouter\"\n+\t\"github.com/mondough/terrors\"\n+)\n+\n+type Router interface {\n+\t// OPTIONS is a shortcut for Register(\"PUT\", svc).\n+\tOPTIONS(path string, svc Service)\n+\t// GET is a shortcut for Register(\"GET\", svc).\n+\tGET(path string, svc Service)\n+\t// HEAD is a shortcut for Register(\"HEAD\", svc).\n+\tHEAD(path string, svc Service)\n+\t// POST is a shortcut for Register(\"Delete\", svc).\n+\tPOST(path string, svc Service)\n+\t// PUT is a shortcut for Register(\"Delete\", svc).\n+\tPUT(path string, svc Service)\n+\t// DELETE is a shortcut for Register(\"Delete\", svc).","path":"router.go","position":22,"original_position":22,"commit_id":"5facb016801ef1d2cf81dbcac5cdb44f703b6bef","original_commit_id":"5facb016801ef1d2cf81dbcac5cdb44f703b6bef","user":{"login":"mattheath","id":181548,"avatar_url":"https://avatars.githubusercontent.com/u/181548?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheath","html_url":"https://github.com/mattheath","followers_url":"https://api.github.com/users/mattheath/followers","following_url":"https://api.github.com/users/mattheath/following{/other_user}","gists_url":"https://api.github.com/users/mattheath/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheath/subscriptions","organizations_url":"https://api.github.com/users/mattheath/orgs","repos_url":"https://api.github.com/users/mattheath/repos","events_url":"https://api.github.com/users/mattheath/events{/privacy}","received_events_url":"https://api.github.com/users/mattheath/received_events","type":"User","site_admin":false},"body":"`Register(\"DELETE\")` sorry, capitalisation 😉 ","created_at":"2016-07-25T19:47:53Z","updated_at":"2016-07-25T19:47:53Z","html_url":"https://github.com/mondough/typhon/pull/56#discussion_r72131410","pull_request_url":"https://api.github.com/repos/mondough/typhon/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/mondough/typhon/pulls/comments/72131410"},"html":{"href":"https://github.com/mondough/typhon/pull/56#discussion_r72131410"},"pull_request":{"href":"https://api.github.com/repos/mondough/typhon/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/mondough/typhon/pulls/56","id":71710455,"html_url":"https://github.com/mondough/typhon/pull/56","diff_url":"https://github.com/mondough/typhon/pull/56.diff","patch_url":"https://github.com/mondough/typhon/pull/56.patch","issue_url":"https://api.github.com/repos/mondough/typhon/issues/56","number":56,"state":"open","locked":false,"title":"HTTP","user":{"login":"obeattie","id":5988,"avatar_url":"https://avatars.githubusercontent.com/u/5988?v=3","gravatar_id":"","url":"https://api.github.com/users/obeattie","html_url":"https://github.com/obeattie","followers_url":"https://api.github.com/users/obeattie/followers","following_url":"https://api.github.com/users/obeattie/following{/other_user}","gists_url":"https://api.github.com/users/obeattie/gists{/gist_id}","starred_url":"https://api.github.com/users/obeattie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obeattie/subscriptions","organizations_url":"https://api.github.com/users/obeattie/orgs","repos_url":"https://api.github.com/users/obeattie/repos","events_url":"https://api.github.com/users/obeattie/events{/privacy}","received_events_url":"https://api.github.com/users/obeattie/received_events","type":"User","site_admin":false},"body":"This PR is practically a rewrite of Typhon.","created_at":"2016-05-27T13:11:05Z","updated_at":"2016-07-25T19:47:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a726df43d10f9ecec1915cb7009fba6d07428bff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mondough/typhon/pulls/56/commits","review_comments_url":"https://api.github.com/repos/mondough/typhon/pulls/56/comments","review_comment_url":"https://api.github.com/repos/mondough/typhon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mondough/typhon/issues/56/comments","statuses_url":"https://api.github.com/repos/mondough/typhon/statuses/5facb016801ef1d2cf81dbcac5cdb44f703b6bef","head":{"label":"mondough:feature/http-refactor","ref":"feature/http-refactor","sha":"5facb016801ef1d2cf81dbcac5cdb44f703b6bef","user":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"repo":{"id":30697332,"name":"typhon","full_name":"mondough/typhon","owner":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mondough/typhon","description":"Go based RPC framework","fork":false,"url":"https://api.github.com/repos/mondough/typhon","forks_url":"https://api.github.com/repos/mondough/typhon/forks","keys_url":"https://api.github.com/repos/mondough/typhon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mondough/typhon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mondough/typhon/teams","hooks_url":"https://api.github.com/repos/mondough/typhon/hooks","issue_events_url":"https://api.github.com/repos/mondough/typhon/issues/events{/number}","events_url":"https://api.github.com/repos/mondough/typhon/events","assignees_url":"https://api.github.com/repos/mondough/typhon/assignees{/user}","branches_url":"https://api.github.com/repos/mondough/typhon/branches{/branch}","tags_url":"https://api.github.com/repos/mondough/typhon/tags","blobs_url":"https://api.github.com/repos/mondough/typhon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mondough/typhon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mondough/typhon/git/refs{/sha}","trees_url":"https://api.github.com/repos/mondough/typhon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mondough/typhon/statuses/{sha}","languages_url":"https://api.github.com/repos/mondough/typhon/languages","stargazers_url":"https://api.github.com/repos/mondough/typhon/stargazers","contributors_url":"https://api.github.com/repos/mondough/typhon/contributors","subscribers_url":"https://api.github.com/repos/mondough/typhon/subscribers","subscription_url":"https://api.github.com/repos/mondough/typhon/subscription","commits_url":"https://api.github.com/repos/mondough/typhon/commits{/sha}","git_commits_url":"https://api.github.com/repos/mondough/typhon/git/commits{/sha}","comments_url":"https://api.github.com/repos/mondough/typhon/comments{/number}","issue_comment_url":"https://api.github.com/repos/mondough/typhon/issues/comments{/number}","contents_url":"https://api.github.com/repos/mondough/typhon/contents/{+path}","compare_url":"https://api.github.com/repos/mondough/typhon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mondough/typhon/merges","archive_url":"https://api.github.com/repos/mondough/typhon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mondough/typhon/downloads","issues_url":"https://api.github.com/repos/mondough/typhon/issues{/number}","pulls_url":"https://api.github.com/repos/mondough/typhon/pulls{/number}","milestones_url":"https://api.github.com/repos/mondough/typhon/milestones{/number}","notifications_url":"https://api.github.com/repos/mondough/typhon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mondough/typhon/labels{/name}","releases_url":"https://api.github.com/repos/mondough/typhon/releases{/id}","deployments_url":"https://api.github.com/repos/mondough/typhon/deployments","created_at":"2015-02-12T10:21:42Z","updated_at":"2016-06-28T04:42:29Z","pushed_at":"2016-07-10T14:29:11Z","git_url":"git://github.com/mondough/typhon.git","ssh_url":"git@github.com:mondough/typhon.git","clone_url":"https://github.com/mondough/typhon.git","svn_url":"https://github.com/mondough/typhon","homepage":"","size":323,"stargazers_count":55,"watchers_count":55,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":55,"default_branch":"master"}},"base":{"label":"mondough:master","ref":"master","sha":"c3af1329097733067da4110a75320b512dc11170","user":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"repo":{"id":30697332,"name":"typhon","full_name":"mondough/typhon","owner":{"login":"mondough","id":11029372,"avatar_url":"https://avatars.githubusercontent.com/u/11029372?v=3","gravatar_id":"","url":"https://api.github.com/users/mondough","html_url":"https://github.com/mondough","followers_url":"https://api.github.com/users/mondough/followers","following_url":"https://api.github.com/users/mondough/following{/other_user}","gists_url":"https://api.github.com/users/mondough/gists{/gist_id}","starred_url":"https://api.github.com/users/mondough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mondough/subscriptions","organizations_url":"https://api.github.com/users/mondough/orgs","repos_url":"https://api.github.com/users/mondough/repos","events_url":"https://api.github.com/users/mondough/events{/privacy}","received_events_url":"https://api.github.com/users/mondough/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mondough/typhon","description":"Go based RPC framework","fork":false,"url":"https://api.github.com/repos/mondough/typhon","forks_url":"https://api.github.com/repos/mondough/typhon/forks","keys_url":"https://api.github.com/repos/mondough/typhon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mondough/typhon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mondough/typhon/teams","hooks_url":"https://api.github.com/repos/mondough/typhon/hooks","issue_events_url":"https://api.github.com/repos/mondough/typhon/issues/events{/number}","events_url":"https://api.github.com/repos/mondough/typhon/events","assignees_url":"https://api.github.com/repos/mondough/typhon/assignees{/user}","branches_url":"https://api.github.com/repos/mondough/typhon/branches{/branch}","tags_url":"https://api.github.com/repos/mondough/typhon/tags","blobs_url":"https://api.github.com/repos/mondough/typhon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mondough/typhon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mondough/typhon/git/refs{/sha}","trees_url":"https://api.github.com/repos/mondough/typhon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mondough/typhon/statuses/{sha}","languages_url":"https://api.github.com/repos/mondough/typhon/languages","stargazers_url":"https://api.github.com/repos/mondough/typhon/stargazers","contributors_url":"https://api.github.com/repos/mondough/typhon/contributors","subscribers_url":"https://api.github.com/repos/mondough/typhon/subscribers","subscription_url":"https://api.github.com/repos/mondough/typhon/subscription","commits_url":"https://api.github.com/repos/mondough/typhon/commits{/sha}","git_commits_url":"https://api.github.com/repos/mondough/typhon/git/commits{/sha}","comments_url":"https://api.github.com/repos/mondough/typhon/comments{/number}","issue_comment_url":"https://api.github.com/repos/mondough/typhon/issues/comments{/number}","contents_url":"https://api.github.com/repos/mondough/typhon/contents/{+path}","compare_url":"https://api.github.com/repos/mondough/typhon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mondough/typhon/merges","archive_url":"https://api.github.com/repos/mondough/typhon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mondough/typhon/downloads","issues_url":"https://api.github.com/repos/mondough/typhon/issues{/number}","pulls_url":"https://api.github.com/repos/mondough/typhon/pulls{/number}","milestones_url":"https://api.github.com/repos/mondough/typhon/milestones{/number}","notifications_url":"https://api.github.com/repos/mondough/typhon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mondough/typhon/labels{/name}","releases_url":"https://api.github.com/repos/mondough/typhon/releases{/id}","deployments_url":"https://api.github.com/repos/mondough/typhon/deployments","created_at":"2015-02-12T10:21:42Z","updated_at":"2016-06-28T04:42:29Z","pushed_at":"2016-07-10T14:29:11Z","git_url":"git://github.com/mondough/typhon.git","ssh_url":"git@github.com:mondough/typhon.git","clone_url":"https://github.com/mondough/typhon.git","svn_url":"https://github.com/mondough/typhon","homepage":"","size":323,"stargazers_count":55,"watchers_count":55,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mondough/typhon/pulls/56"},"html":{"href":"https://github.com/mondough/typhon/pull/56"},"issue":{"href":"https://api.github.com/repos/mondough/typhon/issues/56"},"comments":{"href":"https://api.github.com/repos/mondough/typhon/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/mondough/typhon/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/mondough/typhon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mondough/typhon/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/mondough/typhon/statuses/5facb016801ef1d2cf81dbcac5cdb44f703b6bef"}}}}
{"actor":{"display_login":"mattheath"}}