<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>laplus-knsn</author_name>
  <author_url>https://blog.hatena.ne.jp/laplus-knsn/</author_url>
  <blog_title>at kaneshin</blog_title>
  <blog_url>https://kaneshin.hateblo.jp/</blog_url>
  <categories>
    <anon>Golang</anon>
  </categories>
  <description>net/http パッケージで使用される ListenAndServe 関数は tcp による Listen のため、 UNIX ドメインソケットで Listen するには自前で準備する必要があります。 func (srv *Server) ListenAndServe() error { addr := srv.Addr if addr == &quot;&quot; { addr = &quot;:http&quot; } ln, err := net.Listen(&quot;tcp&quot;, addr) if err != nil { return err } return srv.Serve(tcpKeepAliveListener{ln…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaneshin.hateblo.jp%2Fentry%2F2016%2F05%2F29%2F020302&quot; title=&quot;Golang で書いた Web アプリケーションを UNIX ドメインソケットで公開 - at kaneshin&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-05-29 02:03:02</published>
  <title>Golang で書いた Web アプリケーションを UNIX ドメインソケットで公開</title>
  <type>rich</type>
  <url>https://kaneshin.hateblo.jp/entry/2016/05/29/020302</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
