dae/common/consts/dialer.go
2023-01-23 19:54:21 +08:00

20 lines
570 B
Go

/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) since 2023, mzz2017 (mzz@tuta.io). All rights reserved.
*/
package consts
const (
TestUrl = "https://connectivitycheck.gstatic.com/generate_204"
)
type DialerSelectionPolicy string
const (
DialerSelectionPolicy_Random DialerSelectionPolicy = "random"
DialerSelectionPolicy_Fixed DialerSelectionPolicy = "fixed"
DialerSelectionPolicy_MinAverage10Latencies DialerSelectionPolicy = "min_avg10"
DialerSelectionPolicy_MinLastLatency DialerSelectionPolicy = "min"
)