mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 04:03:44 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -108,3 +108,11 @@ func (s *sAuthClient) onLoginEvent() {
|
||||
func (s *sAuthClient) onCloseEvent() {
|
||||
g.Log().Debug(gctx.New(), "AuthClient closed.")
|
||||
}
|
||||
|
||||
// Summary 获取授权信息
|
||||
func (s *sAuthClient) Summary() *servmsgin.AuthSummaryModel {
|
||||
if s.summary == nil {
|
||||
s.summary = new(servmsgin.AuthSummaryModel)
|
||||
}
|
||||
return s.summary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user