Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Config *configuration.Config
Records *data.Records
RegisterCache *data.TTLCache[string, *data.SIPClient]
// Local hostnames and IPs to react to.
LocalIdentities map[string]bool
}
func (*Server) ListenAndServe ¶
func (*Server) SendSIPMessage ¶
func (s *Server) SendSIPMessage(req *data.SIPRequest) (*data.SIPResponse, error)
Click to show internal directories.
Click to hide internal directories.