mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-09 17:45:03 +09:00
13 lines
351 B
Go
13 lines
351 B
Go
package quic
|
|
|
|
type configGetter interface {
|
|
GetQuic() Config
|
|
}
|
|
|
|
type Config struct {
|
|
ListenAddrs []string `yaml:"listenAddrs"`
|
|
WriteTimeoutSec int `yaml:"writeTimeoutSec"`
|
|
DialTimeoutSec int `yaml:"dialTimeoutSec"`
|
|
MaxStreams int64 `yaml:"maxStreams"`
|
|
KeepAlivePeriodSec int `yaml:"keepAlivePeriodSec"`
|
|
}
|