Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã®è¨äºã¯ mruby Advent Calendar 2016 11 æ¥ç®ã®è¨äºã§ãã Advent Calendar ã®ãã¿ã¨ãã¦ã¯ãã£ã±ãã¤ã«ãã mrbgem ãä½ãã¾ããçãªå 容ãããä¸ãã¦è¡ãããã¨ããã§ãããæ®å¿µãªãããã®ãããªãã¿ã¯æãã¤ããã æ¬è¨äºã§ã¯èªåãæä½ãããã¯ã ts_mruby ãå®è£ ä¸ããã£ãåé¡ãã¡ããã£ã¨å ±æããã·ã³ãã«ãªå 容ã«ãªã£ã¦ãã¾ãã èæ¯ ãã¨ã®ããã ts_mruby 㯠Apache Traffic Server(以ä¸ATS) ã«çµã¿è¾¼ããã©ã°ã¤ã³ã¨ãã¦ã mod_mruby, ngx_mruby ã®ãããªå½¹å²ãæ ããã¨ãç®çã«éçºãç¶ãã¦ãã¾ãã ã¾ããä»å¹´ 9 æã« ãã¼ã¸ã§ã³ 0.1 ããªãªã¼ã¹ãã¦ãã¾ãã ATS ã¯ä¸»ãªç¨éã HTTP ãããã·ãµã¼ãã§ããããã©ã°ã¤ã³åãã«ããã¤ãã®ããã¯ãç¨æããã¦ãã¾ãã ts_mruby-
ãã®è¨äºã¯Linux Advent Calendar 2016 9æ¥ç®ã®è¨äºã§ãã é å»ãã¦ãã¾ãç³ã訳ãããã¾ããããã ã¨ããäºæ ããã£ã¦1ã¶æåã»ã©ç¬èªNICã®Linuxåãã®ãããã¯ã¼ã¯ãã©ã¤ããéçºãã¦ããã ä»åã¯ARMç¨ã®ããã¤ã¹ãã©ã¤ããéçºãããNICã¯Xilinx社ã®FPGAã§ããZYBOãç¨ãã¦éçºããã ã¾ã ååã«å®ç¨æ®µéã¨ããããã§ã¯ãªãããã²ã¨ã¾ãç¬èªNICçµç±ã§ã®pingãiperfãéã£ãã®ã§ãå¾å¦ã®ããã«ç¥è¦ãæ®ãã¦ããããï¼èª°å¾ã ãã¨ããæãã ãï¼ã ã½ã¼ã¹ã³ã¼ãã¯ã¾ã å ¬éããã¦ããªãããããé ããªããã¡ã«å ¬éããäºå®ï¼ãã¶ãï¼ã ã¯ããã« Linuxã®ããã¤ã¹ã«ã¯ ãã£ã©ã¯ã¿ããã¤ã¹ - ãã¤ãåä½ã®ãã¼ã¿éä¿¡ (e.g. ã·ãªã¢ã«ãã¼ã) ãããã¯ããã¤ã¹ - ãããã¯åä½ã®ãã¼ã¿éä¿¡ (e.g. ãã£ã¹ã¯) ãããã¯ã¼ã¯ããã¤ã¹ ã®3種é¡ããããã
go-swaggerã使㶠ãã®è¨äºã¯ Go (ãã®2) Advent Calendar 2016 ã®7æ¥ç®ã®è¨äºã§ãã APIããã®ã³ã¼ãèªåçæãã¼ã«ã¨ãã¦ãswaggerãæè¿æµè¡ã£ã¦ã¾ã(ç°è«ã¯èªãã¾ã)ã ãã®åéã§ã¯ã goa ãæåã§ãããgoaã¯ããã¾ã§Goã®DSLããçæããã¨ããæ¹å¼ã§ãã swaggerå®ç¾©ããã§ã«ããå ´åã«ã¯ä½¿ãã¾ããã swaggerå®ç¾©ãããã®å ´åãä»å説æãã go-swagger ã使ãã¨ä¾¿å©ã§ãã ãªãããã®å 容㯠https://github.com/shirou/swagger_sample ã«ã¦å ¬éãã¦ãã¾ãã go-swaggerã¨ã¯Â¶ go-swaggerã¯ãswaggerå®ç¾©ããgoã®ãµã¼ãã¼ããã³ã¯ã©ã¤ã¢ã³ããçæãã¦ããããã¼ã«ã§ãã ã¤ã³ã¹ãã¼ã«ã¯go getã§ã¤ã³ã¹ãã¼ã«ãã¦ãããã®ã§ãããgoã®ç°å¢ããªãå ´å㯠do
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}