package server type session struct { username string } func (s *session) Username() string { return s.username }