mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Pass new options to proxy opts
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package mtglib
|
package mtglib
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
type ProxyOpts struct {
|
type ProxyOpts struct {
|
||||||
Secret Secret
|
Secret Secret
|
||||||
Network Network
|
Network Network
|
||||||
@@ -8,7 +10,9 @@ type ProxyOpts struct {
|
|||||||
EventStream EventStream
|
EventStream EventStream
|
||||||
Logger Logger
|
Logger Logger
|
||||||
|
|
||||||
|
BufferSize uint
|
||||||
Concurrency uint
|
Concurrency uint
|
||||||
CloakPort uint
|
CloakPort uint
|
||||||
|
IdleTimeout time.Duration
|
||||||
PreferIP string
|
PreferIP string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user