2025-05-17 00:15:00 +05:30
|
|
|
package apdex
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"net/http"
|
|
|
|
|
|
2025-05-31 16:04:13 +05:30
|
|
|
"github.com/SigNoz/signoz/pkg/types/apdextypes"
|
2025-05-17 00:15:00 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Module interface {
|
2025-05-31 16:04:13 +05:30
|
|
|
Get(context.Context, string, []string) ([]*apdextypes.Settings, error)
|
2025-05-17 00:15:00 +05:30
|
|
|
|
2025-05-31 16:04:13 +05:30
|
|
|
Set(context.Context, string, *apdextypes.Settings) error
|
2025-05-17 00:15:00 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Handler interface {
|
|
|
|
|
Get(http.ResponseWriter, *http.Request)
|
|
|
|
|
|
|
|
|
|
Set(http.ResponseWriter, *http.Request)
|
|
|
|
|
}
|