3 ms·
Real world scenario? I would have wrapped this in a custom http.HandlerFunc that did the authentication portion... similar to this (obviously not showing the au
by latchkey 8y ago
Real world scenario? I would have wrapped this in a custom http.HandlerFunc that did the authentication portion... similar to this (obviously not showing the auth portion, but setting headers)...
https://github.com/blockassets/bam_agent/blob/master/tool/http.go https://github.com/blockassets/bam_agent/blob/master/tool/ht...