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

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

The newest version!
package utls

import (
	"gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/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