Example #1
0
func (s *session) Identity() proto.Identity { return backend.NewIdentity(s.id, s.name) }
Example #2
0
func (s *session) Identity() proto.Identity { return backend.NewIdentity(proto.UserID(s.id), s.name) }