Changeset 402 in code for trunk/conn.go


Ignore:
Timestamp:
Aug 20, 2020, 7:13:56 AM (5 years ago)
Author:
contact
Message:

go fmt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/conn.go

    r398 r402  
    108108
    109109type rateLimiter struct {
    110         C <-chan struct{}
    111         ticker *time.Ticker
     110        C       <-chan struct{}
     111        ticker  *time.Ticker
    112112        stopped chan struct{}
    113113}
     
    136136        }()
    137137        return &rateLimiter{
    138                 C: ch,
    139                 ticker: ticker,
     138                C:       ch,
     139                ticker:  ticker,
    140140                stopped: stopped,
    141141        }
     
    148148
    149149type connOptions struct {
    150         Logger Logger
     150        Logger         Logger
    151151        RateLimitDelay time.Duration
    152152        RateLimitBurst int
Note: See TracChangeset for help on using the changeset viewer.