All Downloads are FREE. Search and download functionalities are using the official Maven repository.

common.utls.client_hello_id_version.go Maven / Gradle / Ivy

There is a newer version: 2.9.1
Show newest version
package utls

import (
	"git.torproject.org/pluggable-transports/snowflake.git/v2/common/version"
	"strings"
)

func generateVersionOutput() string {
	var versionOutputBuilder strings.Builder

	versionOutputBuilder.WriteString(`Known utls-imitate values:
(empty)
`)

	for _, name := range ListAllNames() {
		versionOutputBuilder.WriteString(name)
		versionOutputBuilder.WriteRune('\n')
	}
	return versionOutputBuilder.String()
}

func init() {
	version.AddVersionDetail(generateVersionOutput())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy