Id implements the [Client.Id] interface method.
()
| 100 | |
| 101 | // Id implements the [Client.Id] interface method. |
| 102 | func (c *DefaultClient) Id() string { |
| 103 | c.mu.RLock() |
| 104 | defer c.mu.RUnlock() |
| 105 | |
| 106 | return c.id |
| 107 | } |
| 108 | |
| 109 | // Channel implements the [Client.Channel] interface method. |
| 110 | func (c *DefaultClient) Channel() chan Message { |
no outgoing calls