Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogHandler ¶ added in v0.2.0
type AccessLogHandler struct{}
func (*AccessLogHandler) ServeHTTP ¶ added in v0.2.0
func (h *AccessLogHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AccessLogProfiler ¶ added in v0.2.0
type AccessLogProfiler struct {
// contains filtered or unexported fields
}
func NewAccessLogProfiler ¶ added in v0.2.0
func NewAccessLogProfiler(e *echo.Echo, hostAddr string, opts ...AccessLogProfilerOption) *AccessLogProfiler
func (*AccessLogProfiler) Start ¶ added in v0.2.0
func (p *AccessLogProfiler) Start() error
func (*AccessLogProfiler) Stop ¶ added in v0.2.0
func (p *AccessLogProfiler) Stop() error
type AccessLogProfilerOption ¶ added in v0.2.0
type AccessLogProfilerOption func(*AccessLogProfiler)
func AccessLogOption ¶ added in v0.2.1
func AccessLogOption(kataribeFile, alpOption, botName, webhookURL, githubToken string) AccessLogProfilerOption
type AccessLogRequest ¶ added in v0.2.0
type AccessLogRequest struct { FileName string `json:"filename"` KataribeConfPath string `json:"kataribeConfPath"` ALPOption string `json:"alpOption"` Routes []string `json:"routes"` BotName string `json:"botName"` GitHubToken string `json:"githubToken"` DiscordWebhookURL string `json:"discordWebhookURL"` }
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.