TranferService returns the underlying transferrer
()
| 824 | |
| 825 | // TranferService returns the underlying transferrer |
| 826 | func (c *Client) TransferService() transfer.Transferrer { |
| 827 | if c.transferService != nil { |
| 828 | return c.transferService |
| 829 | } |
| 830 | c.connMu.Lock() |
| 831 | defer c.connMu.Unlock() |
| 832 | return transferproxy.NewTransferrer(transferapi.NewTransferClient(c.conn), c.streamCreator()) |
| 833 | } |
| 834 | |
| 835 | // MountManager returns the underlying mount manager client |
| 836 | func (c *Client) MountManager() mount.Manager { |