(label string)
| 280 | } |
| 281 | |
| 282 | func (this *ClientImpl) GetAccountMetadataByLabel(label string) *AccountMetadata { |
| 283 | if label == "" { |
| 284 | return nil |
| 285 | } |
| 286 | this.lock.RLock() |
| 287 | defer this.lock.RUnlock() |
| 288 | accData, ok := this.accLabels[label] |
| 289 | if !ok { |
| 290 | return nil |
| 291 | } |
| 292 | return this.getAccountMetadata(accData) |
| 293 | } |
| 294 | |
| 295 | //Index start from 1 |
| 296 | func (this *ClientImpl) GetAccountMetadataByIndex(index int) *AccountMetadata { |
no test coverage detected