mirror of
https://github.com/openziti/zrok.git
synced 2025-08-19 04:06:18 +02:00
reorg, streamlining
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user