Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles standard WebSocket connections from frontend clients.
func NewServerWebsocket ¶
NewServerWebsocket creates a new Server instance for handling WebSocket connections.
type WebsocketTwilio ¶
type WebsocketTwilio struct {
// contains filtered or unexported fields
}
WebsocketTwilio handles WebSocket connections from Twilio.
func NewWebsocketTwilio ¶
func NewWebsocketTwilio(cfg *config.Config, sessionManager *session.Manager) *WebsocketTwilio
NewWebsocketTwilio creates a new WebsocketTwilio server instance.
func (*WebsocketTwilio) GetAddr ¶
func (s *WebsocketTwilio) GetAddr() string
GetAddr returns the server's listen address (for logging in main)
func (*WebsocketTwilio) Shutdown ¶
func (s *WebsocketTwilio) Shutdown(ctx context.Context) error
Shutdown gracefully stops the server
func (*WebsocketTwilio) Start ¶
func (s *WebsocketTwilio) Start() error
Start begins listening for connections
Click to show internal directories.
Click to hide internal directories.