{"action":"created","issue":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/1016","repository_url":"https://api.github.com/repos/gin-gonic/gin","labels_url":"https://api.github.com/repos/gin-gonic/gin/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/gin-gonic/gin/issues/1016/comments","events_url":"https://api.github.com/repos/gin-gonic/gin/issues/1016/events","html_url":"https://github.com/gin-gonic/gin/issues/1016","id":242889524,"number":1016,"title":"I have some doubts about \"gin/examples/graceful-shutdown/graceful-shutdown/server.go\"","user":{"login":"guobingithub","id":21973801,"avatar_url":"https://avatars4.githubusercontent.com/u/21973801?v=4","gravatar_id":"","url":"https://api.github.com/users/guobingithub","html_url":"https://github.com/guobingithub","followers_url":"https://api.github.com/users/guobingithub/followers","following_url":"https://api.github.com/users/guobingithub/following{/other_user}","gists_url":"https://api.github.com/users/guobingithub/gists{/gist_id}","starred_url":"https://api.github.com/users/guobingithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guobingithub/subscriptions","organizations_url":"https://api.github.com/users/guobingithub/orgs","repos_url":"https://api.github.com/users/guobingithub/repos","events_url":"https://api.github.com/users/guobingithub/events{/privacy}","received_events_url":"https://api.github.com/users/guobingithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-14T03:44:19Z","updated_at":"2017-07-14T05:57:36Z","closed_at":null,"body":"@appleboy hi, I have some doubts about your code of \"gin/examples/graceful-shutdown/graceful-shutdown/server.go\". when i run this code, and send a signal as \"kill -2 9604\" (note that, 9604 is the pid, 2 is the interrupt signal), but there has no any log information shown on the pc screen. But in your code, when interrupt signal is emit, there would show logs, like log.Println(\"Shutdown Server ...\"), log.Println(\"Server exist\").  So can you help me with this doubt? thanks a lot."},"comment":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/comments/315277310","html_url":"https://github.com/gin-gonic/gin/issues/1016#issuecomment-315277310","issue_url":"https://api.github.com/repos/gin-gonic/gin/issues/1016","id":315277310,"user":{"login":"appleboy","id":21979,"avatar_url":"https://avatars4.githubusercontent.com/u/21979?v=4","gravatar_id":"","url":"https://api.github.com/users/appleboy","html_url":"https://github.com/appleboy","followers_url":"https://api.github.com/users/appleboy/followers","following_url":"https://api.github.com/users/appleboy/following{/other_user}","gists_url":"https://api.github.com/users/appleboy/gists{/gist_id}","starred_url":"https://api.github.com/users/appleboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appleboy/subscriptions","organizations_url":"https://api.github.com/users/appleboy/orgs","repos_url":"https://api.github.com/users/appleboy/repos","events_url":"https://api.github.com/users/appleboy/events{/privacy}","received_events_url":"https://api.github.com/users/appleboy/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T05:57:36Z","updated_at":"2017-07-14T05:57:36Z","body":"What is your os? The example is working for me on MacOS.\r\n\r\n```\r\n```"}}
{"actor":{"display_login":"appleboy"}}