* From that it's can be different terminals realizations with different methods, propertys, yda yda... */ ITerminal is interface, it's a public method whose implemented in Terminal(Proxy) and Gopher Terminal
| 34 | |
| 35 | // ITerminal is interface, it's a public method whose implemented in Terminal(Proxy) and Gopher Terminal |
| 36 | type ITerminal interface { |
| 37 | Execute(cmd string) (resp string, err error) |
| 38 | } |
| 39 | |
| 40 | // GopherTerminal for example: |
| 41 | // Its a "huge" structure with different public methods |