github.com/gotd/td/internal/mtproxy.Secret.Type (field)

10 uses

	github.com/gotd/td/internal/mtproxy (current package)
		secret.go#L27: 	Type      SecretType
		secret.go#L55: 		r.Type = Secured
		secret.go#L61: 		r.Type = TLS
		secret.go#L68: 		r.Type = Simple
		secret.go#L73: 	if r.Type != Simple {

	github.com/gotd/td/telegram/dcs
		mtproxy.go#L63: 	switch m.secret.Type {
		mtproxy.go#L69: 		return nil, errors.Errorf("unknown MTProxy secret type: %d", m.secret.Type)
		mtproxy.go#L123: 	if s.Type != mtproxy.TLS {
		plain.go#L98: 		if secret.Type == mtproxy.TLS {
		websocket.go#L45: 		Type:   mtproxy.Simple,