Rename CommandConfiguration to Configuration

This commit is contained in:
NI
2019-08-19 21:34:25 +08:00
parent 1070c2bcf2
commit 0becf0d7fc
9 changed files with 16 additions and 16 deletions

View File

@@ -166,7 +166,7 @@ func (s sshRemoteConn) isValid() bool {
type sshClient struct {
w command.StreamResponder
l log.Logger
cfg command.CommandConfiguration
cfg command.Configuration
remoteCloseWait sync.WaitGroup
credentialReceive chan []byte
credentialProcessed bool
@@ -181,7 +181,7 @@ type sshClient struct {
func newSSH(
l log.Logger,
w command.StreamResponder,
cfg command.CommandConfiguration,
cfg command.Configuration,
) command.FSMMachine {
return &sshClient{
w: w,

View File

@@ -48,7 +48,7 @@ const (
type telnetClient struct {
l log.Logger
w command.StreamResponder
cfg command.CommandConfiguration
cfg command.Configuration
remoteChan chan io.WriteCloser
remoteConn io.WriteCloser
closeWait sync.WaitGroup
@@ -57,7 +57,7 @@ type telnetClient struct {
func newTelnet(
l log.Logger,
w command.StreamResponder,
cfg command.CommandConfiguration,
cfg command.Configuration,
) command.FSMMachine {
return &telnetClient{
l: l,