Documentation ¶
Overview ¶
Package user 定义通用的 user 逻辑.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIdentityInfo ¶
func GetIdentityInfo(r *http.Request) (apistructs.IdentityInfo, error)
GetIdentityInfo 从 http.Request 中获取用户 ID && Internal-Client
return: IdentityInfo, error
Types ¶
Click to show internal directories.
Click to hide internal directories.