示例#1
0
func (s *session) Identity() proto.Identity { return backend.NewIdentity(s.id, s.name) }
示例#2
0
文件: session.go 项目: logan/heim
func (s *session) Identity() proto.Identity { return backend.NewIdentity(proto.UserID(s.id), s.name) }