diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-16 22:59:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-16 22:59:22 +0700 |
| commit | 4c17c972104e2dc50dbee4138c992f620e7f10bd (patch) | |
| tree | 49b73e28694857fb490dccda035214f11f5047f0 /awwan.go | |
| parent | f2b71ae4bf9d264d5c6ea51edc2d402e462e2033 (diff) | |
| download | awwan-4c17c972104e2dc50dbee4138c992f620e7f10bd.tar.xz | |
all: refactoring, rename Request to ExecRequest
Diffstat (limited to 'awwan.go')
| -rw-r--r-- | awwan.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -163,7 +163,7 @@ func (aww *Awwan) Encrypt(file string) (fileVault string, err error) { } // Local execute the script in the local machine using shell. -func (aww *Awwan) Local(req *Request) (err error) { +func (aww *Awwan) Local(req *ExecRequest) (err error) { var ( logp = `Local` sessionDir = filepath.Dir(req.scriptPath) @@ -224,7 +224,7 @@ out: } // Play execute the script in the remote machine using SSH. -func (aww *Awwan) Play(req *Request) (err error) { +func (aww *Awwan) Play(req *ExecRequest) (err error) { var ( logp = `Play` sessionDir = filepath.Dir(req.scriptPath) |
