mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-11 13:56:50 -06:00
17 lines
245 B
Go
17 lines
245 B
Go
package utils
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
func CipherLines(ciphers []string) (lines []string) {
|
|
if len(ciphers) == 0 {
|
|
return nil
|
|
}
|
|
|
|
return []string{
|
|
"data-ciphers-fallback " + ciphers[0],
|
|
"data-ciphers " + strings.Join(ciphers, ":"),
|
|
}
|
|
}
|