1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 17:45:03 +09:00
any-sync/net/transport/quic/config.go
2023-08-11 15:34:05 +02:00

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"`
}