reorg, streamlining

This commit is contained in:
Michael Quigley
2023-01-10 17:40:20 -05:00
parent 163cc9b49c
commit 7868ce8527
12 changed files with 38 additions and 36 deletions

View File

@@ -6,20 +6,8 @@ import (
"github.com/sirupsen/logrus"
"net/url"
"strings"
"time"
)
type BackendHandler interface {
Requests() func() int32
}
type BackendRequest struct {
Stamp time.Time
RemoteAddr string
Method string
Path string
}
func GetRefreshedService(name string, ctx ziti.Context) (*edge.Service, bool) {
svc, found := ctx.GetService(name)
if !found {