Documentation
¶
Index ¶
- func LogRequest(next http.Handler) http.Handler
- func StartHttpListener(tlsConfig *tls.Config, addr string) (func(ctx context.Context) error, controller.Service, error)
- type Service
- func (s *Service) Base(w http.ResponseWriter, _ *http.Request)
- func (s *Service) GetBackendStats(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetLogs(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetStats(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetSystemStats(w http.ResponseWriter, _ *http.Request)
- func (s *Service) GetUserOnlineIpListStats(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetUserOnlineStat(w http.ResponseWriter, r *http.Request)
- func (s *Service) Start(w http.ResponseWriter, r *http.Request)
- func (s *Service) Stop(w http.ResponseWriter, _ *http.Request)
- func (s *Service) SyncUser(w http.ResponseWriter, r *http.Request)
- func (s *Service) SyncUsers(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
controller.Controller
Router chi.Router
}
func (*Service) GetBackendStats ¶
func (s *Service) GetBackendStats(w http.ResponseWriter, r *http.Request)
func (*Service) GetSystemStats ¶
func (s *Service) GetSystemStats(w http.ResponseWriter, _ *http.Request)
func (*Service) GetUserOnlineIpListStats ¶
func (s *Service) GetUserOnlineIpListStats(w http.ResponseWriter, r *http.Request)
func (*Service) GetUserOnlineStat ¶
func (s *Service) GetUserOnlineStat(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.