Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func EventActionPreProcess ¶
Get event and put to context, and set role to member if event's member field equals to id. You are supposed to call this before any route that performs event action.
Types ¶
type AuthContextUser ¶
type AuthContextUser struct { UserInfo service.FetchUserInfoResponse Role []string }
Click to show internal directories.
Click to hide internal directories.