auth

Paddy 2014-12-14 Parent:bc77a315f823 Child:2e4b5722eed0

105:3a1fe5ee17f5 Go to Latest

auth/request.go

Add JSON tags and profile handler registration. Add JSON tags to all our profile types. Make an invalid email format error return requestErrInvalidFormat, not requestErrInvalidValue. Add a RegisterProfileHandlers to associate the handlers regarding profiles with the specified router. Replace our TODOs to send data down the wire with calls to our encode helper.

History