mirror of
https://github.com/openziti/zrok.git
synced 2025-01-11 00:18:43 +01:00
better file names (#463)
This commit is contained in:
parent
2cf484e1c5
commit
9a90915034
20
agent/access.go
Normal file
20
agent/access.go
Normal file
@ -0,0 +1,20 @@
|
||||
package agent
|
||||
|
||||
import (
|
||||
"github.com/openziti/zrok/agent/agentGrpc"
|
||||
"github.com/openziti/zrok/agent/proctree"
|
||||
)
|
||||
|
||||
type access struct {
|
||||
token string
|
||||
|
||||
bindAddress string
|
||||
responseHeaders []string
|
||||
|
||||
process *proctree.Child
|
||||
}
|
||||
|
||||
type agentGrpcImpl struct {
|
||||
agentGrpc.UnimplementedAgentServer
|
||||
a *Agent
|
||||
}
|
@ -3,11 +3,10 @@ package agent
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/zrok/agent/agentGrpc"
|
||||
"github.com/openziti/zrok/agent/proctree"
|
||||
"github.com/openziti/zrok/sdk/golang/sdk"
|
||||
"github.com/pkg/errors"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
@ -85,17 +84,3 @@ func (s *share) tail(data []byte) {
|
||||
s.readBuffer.WriteString(line)
|
||||
}
|
||||
}
|
||||
|
||||
type access struct {
|
||||
token string
|
||||
|
||||
bindAddress string
|
||||
responseHeaders []string
|
||||
|
||||
process *proctree.Child
|
||||
}
|
||||
|
||||
type agentGrpcImpl struct {
|
||||
agentGrpc.UnimplementedAgentServer
|
||||
a *Agent
|
||||
}
|
Loading…
Reference in New Issue
Block a user