package sts import ( "context" "net/http" "github.com/xlgmokha/x/pkg/log" "github.com/xlgmokha/x/pkg/x" ) func New(ctx context.Context) http.Handler { mux := http.NewServeMux() mux.HandleFunc("POST /oauth/token", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusCreated) }) return x.Middleware[http.Handler]( mux, log.HTTP(log.From(ctx)), ) }