Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StefanKopieczek/gossip
/ types & classes
Types & classes
103 in github.com/StefanKopieczek/gossip
⨍
Functions
405
◇
Types & classes
103
↓ 44 callers
TypeAlias
sipUriInput
parser/parser_test.go:1236
↓ 42 callers
TypeAlias
contactHeaderInput
parser/parser_test.go:1494
↓ 35 callers
TypeAlias
toHeaderInput
parser/parser_test.go:1358
↓ 31 callers
TypeAlias
fromHeaderInput
parser/parser_test.go:1426
↓ 26 callers
TypeAlias
viaInput
parser/parser_test.go:1737
↓ 22 callers
TypeAlias
cSeqInput
parser/parser_test.go:1594
↓ 15 callers
TypeAlias
contentLengthInput
parser/parser_test.go:1702
↓ 14 callers
TypeAlias
maxForwardsInput
parser/parser_test.go:1667
↓ 12 callers
TypeAlias
callIdInput
parser/parser_test.go:1632
↓ 12 callers
TypeAlias
splitByWSResult
parser/parser_test.go:1577
↓ 11 callers
TypeAlias
splitByWSInput
parser/parser_test.go:1567
↓ 9 callers
TypeAlias
hostPortInput
parser/parser_test.go:1269
↓ 5 callers
TypeAlias
ContentLength
base/headers.go:546
↓ 1 callers
TypeAlias
CallId
base/headers.go:510
↓ 1 callers
TypeAlias
MaxForwards
base/headers.go:536
↓ 1 callers
TypeAlias
ViaHeader
base/headers.go:556
Struct
CSeq
base/headers.go:523
Struct
ClientTransaction
transaction/transaction.go:59
Struct
ContactHeader
base/headers.go:468
Interface
ContactUri
A URI from a schema suitable for inclusion in a Contact: header. The only such URIs are sip/sips URIs and the special wildcard URI '*'.
base/headers.go:63
Struct
DummyConn
testutils/dummyconn.go:6
Struct
ElasticChan
A dynamic channel that does not block on send, but has an unlimited buffer capacity. ElasticChan uses a dynamic slice to buffer signals received on th
utils/elasticchan.go:11
Struct
FromHeader
base/headers.go:433
Struct
GenericHeader
Encapsulates a header that gossip does not natively support. This allows header data that is not understood to be parsed by gossip and relayed to the
base/headers.go:373
FuncType
HeaderParser
A HeaderParser is any function that turns raw header data into one or more SipHeader objects. The HeaderParser will receive arguments of the form ("ma
parser/parser.go:49
Struct
Level
log/log.go:35
TypeAlias
Listener
transport/transport.go:132
Struct
Logger
log/log.go:52
Interface
Manager
transport/transport.go:17
Struct
Manager
transaction/manager.go:21
Interface
MaybeString
Maybestring contains a string, or nil.
base/headers.go:17
TypeAlias
Method
A representation of a SIP method. This is syntactic sugar around the string type, so make sure to use the Equals method rather than built-in equality,
base/messages.go:13
Struct
NoString
NoString represents the absence of a string.
base/headers.go:22
Interface
Params
Generic list of parameters on a header.
base/headers.go:244
Interface
Parser
A Parser converts the raw bytes of SIP messages into base.SipMessage objects. It allows
parser/parser.go:31
Struct
ParserTest
parser/parser_test.go:1804
Struct
ProxyRequireHeader
base/headers.go:667
Struct
Request
A SIP request (c.f. RFC 3261 section 7.1).
base/messages.go:153
Struct
RequireHeader
base/headers.go:633
Struct
Response
A SIP response object (c.f. RFC 3261 section 7.2).
base/messages.go:285
Interface
Semaphore
Simple semaphore implementation. Any number of calls to Acquire() can be made; these will not block. If the semaphore has been acquired more times tha
utils/semaphore.go:9
Struct
ServerTransaction
transaction/transaction.go:71
Interface
SipHeader
A single logical header from a SIP message.
base/headers.go:38
Interface
SipMessage
Internal representation of a SIP message - either a Request or a Response.
base/messages.go:40
Struct
SipUri
A SIP or SIPS URI, including all params and URI header params.
base/headers.go:72
Struct
String
String represents an actual string.
base/headers.go:27
Struct
SupportedHeader
base/headers.go:650
Struct
Tcp
transport/transport_tcp.go:11
Interface
Timer
Interface over Golang's built-in Timers, allowing them to be swapped out for mocked timers.
timing/timing.go:13
Struct
ToHeader
base/headers.go:397
Interface
Transaction
transaction/transaction.go:21
Struct
Udp
transport/transport_udp.go:13
Struct
UnsupportedHeader
'Unsupported:' is a SIP header type - this doesn't indicate that the header itself is not supported by gossip!
base/headers.go:686
Interface
Uri
A URI from any schema (e.g. sip:, tel:, callto:)
base/headers.go:50
Struct
ViaHop
A single component in a Via header. Via headers are composed of several segments of the same structure, added by successive nodes in a routing chain.
base/headers.go:560
Struct
WildcardUri
The special wildcard URI used in Contact: headers in REGISTER requests when expiring all registrations.
base/headers.go:217
Interface
action
Test infra.
transaction/transaction_test.go:55
Struct
cSeqResult
parser/parser_test.go:1611
Struct
callIdResult
parser/parser_test.go:1649
Struct
connRequest
transport/conntable.go:165
Struct
connTable
Fields of connTable should only be modified by the dedicated goroutine called by Init(). All other callers should use connTable's associated public me
transport/conntable.go:12
Struct
connUpdate
transport/conntable.go:160
Struct
connWatcher
transport/conntable.go:21
Struct
connection
transport/connection.go:13
Struct
contactHeaderResult
parser/parser_test.go:1513
Struct
contentLengthResult
parser/parser_test.go:1719
Struct
delimiter
A delimiter is any pair of characters used for quoting text (i.e. bulk escaping literals).
parser/parser.go:1195
Struct
dummyTransport
UTs for transaction layer. Dummy transport manager.
transaction/transaction_test.go:18
Struct
endpoint
transport/transport_fv_test.go:12
Struct
fromHeaderResult
parser/parser_test.go:1443
TypeAlias
headerBlockInput
parser/parser_test.go:1315
Struct
headerBlockResult
parser/parser_test.go:1326
Struct
headers
A shared type for holding headers and their ordering.
base/messages.go:68
Struct
hostPortResult
parser/parser_test.go:1280
Interface
input
parser/parser_test.go:24
Struct
key
Transactions are identified by the branch parameter in the top Via header, and the method. (RFC 3261 17.1.3)
transaction/manager.go:29
Struct
manager
transport/transport.go:24
Struct
maxForwardsResult
parser/parser_test.go:1684
Struct
mockTimer
Implementation of Timer that mocks time.Timer, firing when the total elapsed time (as controlled by Elapse) exceeds the duration specified when the ti
timing/timing.go:46
Struct
notifier
transport/transport.go:76
Struct
paramInput
parser/parser_test.go:1196
Struct
paramResult
parser/parser_test.go:1214
Struct
params
base/headers.go:255
Struct
parser
parser/parser.go:130
Struct
parserBuffer
parserBuffer is a specialized buffer for use in the parser package. It is written to via the non-blocking Write. It exposes various blocking read meth
parser/parserbuffer.go:15
Struct
parserTestStep
parser/parser_test.go:1840
Struct
realTimer
Implementation of Timer that just wraps time.Timer.
timing/timing.go:28
Interface
result
parser/parser_test.go:28
Struct
semaphore
Concrete implementation of Semaphore.
utils/semaphore.go:44
Struct
sentMessage
transaction/transaction_test.go:24
Struct
sipUriResult
parser/parser_test.go:1246
Struct
stringTest
Generic test for testing anything with a String() method.
base/stringify_test.go:11
Struct
test
parser/parser_test.go:34
Struct
toHeaderResult
parser/parser_test.go:1375
Struct
transaction
transaction/transaction.go:29
Struct
transactionTest
transaction/transaction_test.go:59
Interface
transport
transport/transport.go:29
Struct
transportRecv
transaction/transaction_test.go:125
Struct
transportSend
transaction/transaction_test.go:94
Struct
userRecv
transaction/transaction_test.go:104
next →
1–100 of 103, ranked by callers