add the context.SimpleUser to the aliases (iris.SimpleUser)

This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-11-26 08:00:28 +02:00
parent 288646a31c
commit d98224bc40
No known key found for this signature in database
GPG Key ID: 5DBE766BD26A54E7

View File

@ -71,6 +71,8 @@ type (
// See `Context.User` and `SetUser` methods for more.
// An alias for the `context/User` type.
User = context.User
// SimpleUser is a simple implementation of the User interface.
SimpleUser = context.SimpleUser
// Problem Details for HTTP APIs.
// Pass a Problem value to `context.Problem` to
// write an "application/problem+json" response.