mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 16:07:10 +00:00
21 lines
357 B
Go
21 lines
357 B
Go
|
|
package apdex
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"net/http"
|
||
|
|
|
||
|
|
"github.com/SigNoz/signoz/pkg/types"
|
||
|
|
)
|
||
|
|
|
||
|
|
type Module interface {
|
||
|
|
Get(context.Context, string, []string) ([]*types.ApdexSettings, error)
|
||
|
|
|
||
|
|
Set(context.Context, string, *types.ApdexSettings) error
|
||
|
|
}
|
||
|
|
|
||
|
|
type Handler interface {
|
||
|
|
Get(http.ResponseWriter, *http.Request)
|
||
|
|
|
||
|
|
Set(http.ResponseWriter, *http.Request)
|
||
|
|
}
|