Documentation ¶
Index ¶
- type Config
- type Message
- type Service
- func (s *Service) Accept(recipient, cid, callID, peerInfo string, data map[string]interface{}) error
- func (s *Service) Busy(recipient, cid, callID string) error
- func (s *Service) OnAccept(callback func(iss, cid, callID, peerInfo string, data interface{}))
- func (s *Service) OnBusy(callback func(iss, cid, callID string))
- func (s *Service) OnSetup(callback func(iss, cid string, data interface{}))
- func (s *Service) OnStart(callback func(iss, cid, callID, peerInfo string, data interface{}))
- func (s *Service) OnStop(callback func(iss, cid, callID string))
- func (s *Service) OnSummary(callback func(iss, cid, callID string))
- func (s *Service) Setup(recipient, name, cid string) error
- func (s *Service) Start(recipient, cid, callID, peerInfo string, data map[string]interface{}) error
- func (s *Service) Stop(recipient, cid, callID string) error
- func (s *Service) Summary(recipient, cid, callID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SelfID string DeviceID string PrivateKey ed25519.PrivateKey Rest restTransport KeyID string MessagingClient messagingClient MessagingService messagingService }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Accept ¶
func (s *Service) Accept(recipient, cid, callID, peerInfo string, data map[string]interface{}) error
Sends a chat.voice.accept message accepting a specific call.
Click to show internal directories.
Click to hide internal directories.