Versions in this module Expand all Collapse all v0 v0.1.32 Sep 12, 2023 Changes in this version + type KeyPressReader interface + WaitForKeyPress func() byte + type PprofUtils struct + BaseURL string + EnablePprof bool + ErrCh chan error + Log logger.LoggerInterface + PprofPort string + SecretToken string + Server Server + func NewPprofUtils(enablePprof bool, pprofPort string, secretToken string, baseURL string, ...) *PprofUtils + func (p *PprofUtils) DumpDebugPProf() error + func (p *PprofUtils) GetErrorChannel() chan error + func (p *PprofUtils) SetLogger(log logger.LoggerInterface) + func (p *PprofUtils) StartPprof(certPath string, keyPath string) chan error + func (p *PprofUtils) StartServerWithShutdown(addr string, certPath string, keyPath string, reader KeyPressReader) chan error + type RealKeyPressReader struct + func (r *RealKeyPressReader) WaitForKeyPress() byte + type Server interface + ListenAndServeTLS func(certFile, keyFile string) error + Shutdown func(ctx context.Context) error