mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
add the context.SimpleUser to the aliases (iris.SimpleUser)
This commit is contained in:
parent
288646a31c
commit
d98224bc40
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user