Skip to content

Commit

Permalink
better file names (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Sep 13, 2024
1 parent 2cf484e commit 9a90915
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
20 changes: 20 additions & 0 deletions agent/access.go
Original file line number Diff line number Diff line change
@@ -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
}
17 changes: 1 addition & 16 deletions agent/model.go → agent/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
}

0 comments on commit 9a90915

Please sign in to comment.