Add: config hub route

This commit is contained in:
Dreamacro
2018-06-20 22:41:02 +08:00
parent c2c8f82f96
commit 05ab653103
9 changed files with 115 additions and 4 deletions

View File

@ -38,6 +38,10 @@ func (t *Tunnel) Traffic() *C.Traffic {
return t.traffic
}
func (t *Tunnel) Config() ([]C.Rule, map[string]C.Proxy) {
return t.rules, t.proxys
}
func (t *Tunnel) Log() *observable.Observable {
return t.observable
}