Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogHandler ¶
type AccessLogHandler struct{}
func (*AccessLogHandler) ServeHTTP ¶
func (h *AccessLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AccessLogProfiler ¶
type AccessLogProfiler struct {
// contains filtered or unexported fields
}
func NewAccessLogProfiler ¶
func NewAccessLogProfiler(e *echo.Echo, hostAddr string, opts ...AccessLogProfilerOption) *AccessLogProfiler
func (*AccessLogProfiler) Start ¶
func (p *AccessLogProfiler) Start() error
func (*AccessLogProfiler) Stop ¶
func (p *AccessLogProfiler) Stop() error
type AccessLogProfilerOption ¶
type AccessLogProfilerOption func(*AccessLogProfiler)
func AccessLogDiscordNotifierOption ¶
func AccessLogDiscordNotifierOption(kataribeFile, botName, webhookURL, githubToken string) AccessLogProfilerOption
type AccessLogRequest ¶
type MySQLSlowQueryLogHandler ¶
type MySQLSlowQueryLogHandler struct{}
func (*MySQLSlowQueryLogHandler) ServeHTTP ¶
func (h *MySQLSlowQueryLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type MySQLSlowQueryLogProfiler ¶
type MySQLSlowQueryLogProfiler struct {
// contains filtered or unexported fields
}
func NewMySQLSlowQueryLogProfiler ¶
func NewMySQLSlowQueryLogProfiler(e *echo.Echo, hostAddr string, db *sql.DB, opts ...MySQLSlowQueryLogProfilerOption) *MySQLSlowQueryLogProfiler
func (*MySQLSlowQueryLogProfiler) Start ¶
func (p *MySQLSlowQueryLogProfiler) Start() error
func (*MySQLSlowQueryLogProfiler) Stop ¶
func (p *MySQLSlowQueryLogProfiler) Stop() error
type MySQLSlowQueryLogProfilerOption ¶
type MySQLSlowQueryLogProfilerOption func(*MySQLSlowQueryLogProfiler)
func MySQLSlowQueryLogDiscordNotifierOption ¶
func MySQLSlowQueryLogDiscordNotifierOption(botName, webhookURL, githubToken string) MySQLSlowQueryLogProfilerOption
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func NewProfiler ¶
func (*Profiler) AddProfiler ¶
func (p *Profiler) AddProfiler(profiler SubProfiler)
func (*Profiler) ListenAndServe ¶
type SubProfiler ¶
Click to show internal directories.
Click to hide internal directories.