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

13 uses

	github.com/gotd/td/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#L127: func (c *DC) pop() (r *poolConn, ok bool) {
		pool.go#L138: func (c *DC) release(r *poolConn) {
		pool.go#L157: func (c *DC) acquire(ctx context.Context) (r *poolConn, err error) { // nolint:gocyclo
		pool.go#L242: func (c *DC) Invoke(ctx context.Context, input bin.Encoder, output bin.Decoder) error {
		pool.go#L284: func (c *DC) Close() error {
		pool_conn.go#L36: 	dc      *DC   // immutable

	github.com/gotd/td/telegram
		pool.go#L26: func (c *Client) createPool(dc int, max int64, creator func() pool.Conn) (*pool.DC, error) {
		pool.go#L66: ) (*pool.DC, error) {