1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

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

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.