Versions in this module Expand all Collapse all v0 v0.1.1 Sep 23, 2025 Changes in this version + type Server struct + func NewServer(config *internal.Config, logger logrus.FieldLogger) (*Server, error) + func (s *Server) Run(ctx context.Context) error + type UserStat struct + ConnectCount int + LastConnected time.Time + Username string + type UserStats struct + func NewUserStats(dataDir string) *UserStats + func (us *UserStats) GetRecentUsers(excludeUser string, limit int) []*UserStat + func (us *UserStats) GetUserStat(username string) (*UserStat, bool) + func (us *UserStats) IsFirstTime(username string) bool + func (us *UserStats) Load() error + func (us *UserStats) RecordConnection(username string) + func (us *UserStats) Save() error