server

package
v0.0.0-...-983ff77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodInvite          = "INVITE"
	MethodAck             = "ACK"
	MethodBye             = "BYE"
	MethodCancel          = "CANCEL"
	StateManagerTTLInvite = 600
	StateManagerTTLCall   = 3600 * 6
)

Server handler specific constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Start() error
}

Interface is the interface for Server objects

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the UDP/TCP server

func NewServer

func NewServer() *Server

NewServer initializes a new UDP/TCP server

func (*Server) Start

func (s *Server) Start() error

Start starts the UDP/TCP server which receives the HEP packats

func (*Server) Stop

func (s *Server) Stop()

Stop stops the UDP/TCP server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL