~/talk

Building web services in Go

Talkat GopherCon 2014 · 2014-04-24..04-26· [web-platform, go]
slides:none on file

Shows concrete patterns: a marshalled wrapper using reflection that decodes request types and encodes JSON responses with Go-style error values; a tree router with wildcard segments and method dispatch that returns 404/405; middleware composed by wrapping handlers and overriding the ResponseWriter to implement logging, metrics and short-circuiting; and a graceful shutdown built on ConnState and SetKeepAlivesEnabled so active requests finish within a bounded grace period.

AI-written summary · about

  1. 0:00Web services and Go intro
  2. 2:39HTTP handler interface
  3. 9:03JSON and errors handling
  4. 12:38Tree-based routing
  5. 15:49Logging and metrics handlers
  6. 18:17Graceful shutdown in Go 1.3
  7. 21:45Recap and building blocks
  8. 23:28Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.