type github.com/gotd/td/internal/pool.DC

13 uses

	github.com/gotd/td/internal/pool (current package)
		pool.go#L17: type DC struct {
		pool.go#L53: func NewDC(ctx context.Context, id int, newConn func() Conn, opts DCOptions) *DC {
		pool.go#L57: 	return &DC{
		pool.go#L70: func (c *DC) createConnection(id int64) *poolConn {
		pool.go#L87: func (c *DC) dead(r *poolConn, deadErr error) {
		pool.go#L126: func (c *DC) pop() (r *poolConn, ok bool) {
		pool.go#L137: func (c *DC) release(r *poolConn) {
		pool.go#L155: func (c *DC) acquire(ctx context.Context) (r *poolConn, err error) { // nolint:gocyclo
		pool.go#L240: func (c *DC) Invoke(ctx context.Context, input bin.Encoder, output bin.Decoder) error {
		pool.go#L269: func (c *DC) Close() error {
		pool_conn.go#L27: 	dc      *DC   // immutable

	github.com/gotd/td/telegram
		pool.go#L24: func (c *Client) createPool(dc int, max int64, creator func() pool.Conn) (*pool.DC, error) {
		pool.go#L52: func (c *Client) dc(ctx context.Context, dcID int, max int64, dialer mtproto.Dialer) (*pool.DC, error) {