A protocol is a set of functions dispatched on the type of the first argument. It plays the role of a small Go interface. extend-type supplies the implementation.
The same protocol can be extended to a host type such as String. Inline implementations inside defrecord, and reify, are not supported in this version of Glojure, so extend-type is the form to use.