generic info handlers for SAMTunnel

This commit is contained in:
idk
2019-05-09 23:50:48 -04:00
parent 5a08db5475
commit 478d69d105
2 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,10 @@ type SAMClientForwarder struct {
accessList []string
}
func (f *SAMClientForwarder) GetType() string {
return f.Type
}
func (f *SAMClientForwarder) ID() string {
return f.TunName
}

View File

@ -94,6 +94,10 @@ func (f *SAMForwarder) Cleanup() {
f.samConn.Close()
}
func (f *SAMForwarder) GetType() string {
return f.Type
}
/*func (f *SAMForwarder) targetForPort443() string {
if f.TargetForPort443 != "" {
return "targetForPort.4443=" + f.TargetHost + ":" + f.TargetForPort443