type github.com/gotd/td/tg.DCOption
63 uses
github.com/gotd/td/tg (current package)
tl_config_gen.go#L71: DCOptions []DCOption
tl_config_gen.go#L394: GetDCOptions() (value []DCOption)
tl_config_gen.go#L954: c.DCOptions = make([]DCOption, 0, headerLen%bin.PreallocateLimit)
tl_config_gen.go#L957: var value DCOption
tl_config_gen.go#L1354: func (c *Config) GetDCOptions() (value []DCOption) {
tl_dc_option_gen.go#L38: type DCOption struct {
tl_dc_option_gen.go#L87: _ bin.Encoder = &DCOption{}
tl_dc_option_gen.go#L88: _ bin.Decoder = &DCOption{}
tl_dc_option_gen.go#L89: _ bin.BareEncoder = &DCOption{}
tl_dc_option_gen.go#L90: _ bin.BareDecoder = &DCOption{}
tl_dc_option_gen.go#L93: func (d *DCOption) Zero() bool {
tl_dc_option_gen.go#L135: func (d *DCOption) String() string {
tl_dc_option_gen.go#L139: type Alias DCOption
tl_dc_option_gen.go#L144: func (d *DCOption) FillFrom(from interface {
tl_dc_option_gen.go#L174: func (*DCOption) TypeID() uint32 {
tl_dc_option_gen.go#L179: func (*DCOption) TypeName() string {
tl_dc_option_gen.go#L184: func (d *DCOption) TypeInfo() tdp.Type {
tl_dc_option_gen.go#L246: func (d *DCOption) SetFlags() {
tl_dc_option_gen.go#L271: func (d *DCOption) Encode(b *bin.Buffer) error {
tl_dc_option_gen.go#L280: func (d *DCOption) EncodeBare(b *bin.Buffer) error {
tl_dc_option_gen.go#L298: func (d *DCOption) Decode(b *bin.Buffer) error {
tl_dc_option_gen.go#L309: func (d *DCOption) DecodeBare(b *bin.Buffer) error {
tl_dc_option_gen.go#L356: func (d *DCOption) SetIpv6(value bool) {
tl_dc_option_gen.go#L367: func (d *DCOption) GetIpv6() (value bool) {
tl_dc_option_gen.go#L375: func (d *DCOption) SetMediaOnly(value bool) {
tl_dc_option_gen.go#L386: func (d *DCOption) GetMediaOnly() (value bool) {
tl_dc_option_gen.go#L394: func (d *DCOption) SetTCPObfuscatedOnly(value bool) {
tl_dc_option_gen.go#L405: func (d *DCOption) GetTCPObfuscatedOnly() (value bool) {
tl_dc_option_gen.go#L413: func (d *DCOption) SetCDN(value bool) {
tl_dc_option_gen.go#L424: func (d *DCOption) GetCDN() (value bool) {
tl_dc_option_gen.go#L432: func (d *DCOption) SetStatic(value bool) {
tl_dc_option_gen.go#L443: func (d *DCOption) GetStatic() (value bool) {
tl_dc_option_gen.go#L451: func (d *DCOption) SetThisPortOnly(value bool) {
tl_dc_option_gen.go#L462: func (d *DCOption) GetThisPortOnly() (value bool) {
tl_dc_option_gen.go#L470: func (d *DCOption) GetID() (value int) {
tl_dc_option_gen.go#L478: func (d *DCOption) GetIPAddress() (value string) {
tl_dc_option_gen.go#L486: func (d *DCOption) GetPort() (value int) {
tl_dc_option_gen.go#L494: func (d *DCOption) SetSecret(value []byte) {
tl_dc_option_gen.go#L501: func (d *DCOption) GetSecret() (value []byte, ok bool) {
tl_registry_gen.go#L3967: DCOptionTypeID: func() bin.Object { return &DCOption{} },
tl_update_gen.go#L2959: DCOptions []DCOption
tl_update_gen.go#L3000: GetDCOptions() (value []DCOption)
tl_update_gen.go#L3082: u.DCOptions = make([]DCOption, 0, headerLen%bin.PreallocateLimit)
tl_update_gen.go#L3085: var value DCOption
tl_update_gen.go#L3096: func (u *UpdateDCOptions) GetDCOptions() (value []DCOption) {
github.com/gotd/td/session
session.go#L35: DCOptions []tg.DCOption
tdesktop.go#L11: func findDCAddr(list []tg.DCOption, dcID int) string {
tdesktop.go#L29: var opts []tg.DCOption
tdesktop.go#L31: opts = append(opts, tg.DCOption{
github.com/gotd/td/telegram/dcs
dns.go#L109: func (d DNSConfig) Options() (r []tg.DCOption) {
dns.go#L122: r = append(r, tg.DCOption{
dns.go#L128: r = append(r, tg.DCOption{
find.go#L10: func FindDCs(opts []tg.DCOption, dcID int, preferIPv6 bool) []tg.DCOption {
find.go#L12: candidates := make([]tg.DCOption, 0, 32)
find.go#L49: func FindPrimaryDCs(opts []tg.DCOption, dcID int, preferIPv6 bool) []tg.DCOption {
list.go#L7: Options []tg.DCOption
plain.go#L63: func (p plain) dialTransport(ctx context.Context, test bool, dc tg.DCOption) (_ transport.Conn, rerr error) {
plain.go#L124: func (p plain) connect(ctx context.Context, dc int, test bool, dcOptions []tg.DCOption) (transport.Conn, error) {
plain.go#L140: tryDial := func(ctx context.Context, option tg.DCOption) {
prod.go#L8: Options: []tg.DCOption{
test.go#L15: Options: []tg.DCOption{
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |