This commit is contained in:
kayos@tcp.direct 2022-09-22 17:04:14 -07:00
rodič 95d4afc82a
revize 2461423589
Podepsáno: kayos
ID GPG klíče: 4B841471B4BEE979

Zobrazit soubor

@ -135,6 +135,13 @@ type config struct {
*sync.RWMutex
}
// NewDefaultSwamp returns a new Swamp instance.
//
// Deprecated: use NewProxyEngine instead.
func NewDefaultSwamp() *Swamp {
return NewProxyEngine()
}
// NewProxyEngine returns a Swamp with default options.
// After calling this you may use the various "setters" to change the options before calling Swamp.Start().
func NewProxyEngine() *Swamp {