auth

Paddy 2015-01-14 Parent:2e4b5722eed0 Child:8267e1c8bcd1

115:fa8ee6a4507c Go to Latest

auth/authd/server.go

Turn AddEndpoint into AddEndpoints. Because one is a special case of many, it makes sense to be able to add multiple endpoints in a single call to the database. So we've converted the AddEndpoint method into an AddEndpoints method and updated our tests appropriately. We also filled in the errors when creating a client through the API, and moved things around to optimize for the maximum number of errors returned in a single call.

History