better file names (#463)

This commit is contained in:
Michael Quigley 2024-09-13 14:40:55 -04:00
parent 2cf484e1c5
commit 9a90915034
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 21 additions and 16 deletions

20
agent/access.go Normal file
View 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
}

View File

@ -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
}