refact: some refactoring to proxy modules

This commit is contained in:
evilsocket 2018-01-11 19:53:14 +01:00
commit 291e87de39
11 changed files with 332 additions and 315 deletions

View file

@ -2,6 +2,7 @@ package session
import (
"bufio"
"errors"
"fmt"
"os"
"os/signal"
@ -20,6 +21,9 @@ import (
var (
I = (*Session)(nil)
ErrAlreadyStarted = errors.New("Module is already running.")
ErrAlreadyStopped = errors.New("Module is not running.")
)
type Session struct {