Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
WebSocketで遊んでみた / Go WebSocket
Search
chikuwa111
May 28, 2018
Programming
650
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebSocketで遊んでみた / Go WebSocket
Gopher道場#1 LT大会で発表した資料になります。実際に発表した資料に少し手を加えてあります。
chikuwa111
May 28, 2018
Other Decks in Programming
See All in Programming
自分的「カンファレンスの楽しみ方」
syumai
0
200
Press start. Python's next generation.
willingc
PRO
3
320
Foundry Localでエージェント開発
seosoft
0
160
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
430
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
AIの中の人になってみる
htkym
0
170
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
180
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
760
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
2
260
信頼性の目標を誰も求めてない
shubox
0
500
高専キャリア LT 発表内容
crysta1221
6
5.6k
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
110
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
How STYLIGHT went responsive
nonsquared
100
6.3k
Product Roadmaps are Hard
iamctodd
55
13k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Building Adaptive Systems
keathley
44
3.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The Curse of the Amulet
leimatthew05
2
14k
Designing Experiences People Love
moore
143
24k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
320
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
780
Transcript
8FC4PDLFUͰ༡ΜͰΈͨ ྠढ़Ұ
ࣗݾհ w ྠढ़Ұ ͚ͨΘ w େֶੜ w ʮͪ͘ΘʯͱݺΕͯ·͢ w
ॳ-5
8FC4PDLFUͰ༡ΜͰΈͨ
(Pͷ8FC4PDLFUࣄ w HPMBOHPSHYOFUXFCTPDLFU w 5IJTQBDLBHFDVSSFOUMZMBDLTTPNFGFBUVSFT GPVOEJOBMUFSOBUJWFBOENPSFBDUJWFMZNBJOUBJOFE 8FC4PDLFUQBDLBHF w HJUIVCDPNHPSJMMBXFCTPDLFU
HPSJMMBXFCTPDLFU w 4FOEDMPTFNFTTBHF w 4FOEQJOHTBOESFDFJWFQPOHT w $PNQSFTTJPO &YQFSJNFOUBM w
3FBENFTTBHFVTJOHJP3FBEFS w 8SJUFNFTTBHFVTJOHJP8SJUF$MPTFS
func Echo(ws *websocket.Conn) { for { var reply string if
err := websocket.Message.Receive(ws, &reply); err != nil { fmt.Println("Receive failed: ", err) break } if err := websocket.Message.Send(ws, reply); err != nil { fmt.Println("Send failed: ", err) break } } } func main() { http.Handle("/", websocket.Handler(Echo)) if err := http.ListenAndServe(":8080", nil); err != nil { log.Fatal("ListenAndServe:", err) } }
༡ΜͰΈͨ νϟοτػೳ
IFSPLVʹ͋͛·ͨ͠ 63-ൿີ
ͭͬͨ͘ͷ w ͨͩͷνϟοτػೳ w શମͰͻͱͭͷ෦Λڞ༗͍ͯ͠Δ w HJUIVCDPNHPSJMMBXFCTPDLFUUSFFNBTUFS FYBNQMFTDIBUΛࢀߟʹ͠·ͨ͠
ͭͬͨ͘ͷ )6# ೖࣨɾୀࣨɾ ϝοηʔδͷཧ 4FSWFS ड৴ͷཧ ૹ৴ͷཧ JOJU QFSDPOOFDUJPO
ຊʹΓ͔ͨͬͨ͜ͱ
ෳͷ෦Λͭ͘Δ )6# ೖࣨɾୀࣨɾ ϝοηʔδͷཧ 4FSWFS ड৴ͷཧ ૹ৴ͷཧ QFSDPOOFDUJPO
ཁղܾϙΠϯτ w ෦ͷཧ w ೖࣨͷड͚ೖΕঢ়ଶͷཧ w ਓͷ෦ͷআ w ύϑΥʔϚϯεͷ࠷దԽ
͋Γ͕ͱ͏͍͟͝·ͨ͠