| skipped 134 lines |
135 | 135 | | *sync.RWMutex |
136 | 136 | | } |
137 | 137 | | |
| 138 | + | // NewDefaultSwamp returns a new Swamp instance. |
| 139 | + | // |
| 140 | + | // Deprecated: use NewProxyEngine instead. |
| 141 | + | func NewDefaultSwamp() *Swamp { |
| 142 | + | return NewProxyEngine() |
| 143 | + | } |
| 144 | + | |
138 | 145 | | // NewProxyEngine returns a Swamp with default options. |
139 | 146 | | // After calling this you may use the various "setters" to change the options before calling Swamp.Start(). |
140 | 147 | | func NewProxyEngine() *Swamp { |
| skipped 87 lines |