mirror of
https://github.com/gortc/stun.git
synced 2025-09-26 20:41:36 +08:00
22 lines
1.5 KiB
Plaintext
22 lines
1.5 KiB
Plaintext
pkg github.com/gortc/stun, type Handler func(Event)
|
|
pkg github.com/gortc/stun, method (*Client) Do(*Message, func(Event)) error
|
|
pkg github.com/gortc/stun, method (*Client) SetRTO(time.Duration)
|
|
pkg github.com/gortc/stun, method (*Client) Start(*Message, Handler) error
|
|
pkg github.com/gortc/stun, type Clock interface { Now }
|
|
pkg github.com/gortc/stun, type Clock interface, Now() time.Time
|
|
pkg github.com/gortc/stun, type Collector interface { Close, Start }
|
|
pkg github.com/gortc/stun, type Collector interface, Close() error
|
|
pkg github.com/gortc/stun, type Collector interface, Start(time.Duration, func(time.Time)) error
|
|
pkg github.com/gortc/stun, type Event struct, TransactionID [12]uint8
|
|
pkg github.com/gortc/stun, method (*Agent) SetHandler(Handler) error
|
|
pkg github.com/gortc/stun, method (*Agent) Start([12]uint8, time.Time) error
|
|
pkg github.com/gortc/stun, type ClientAgent interface { Close, Collect, Process, SetHandler, Start, Stop }
|
|
pkg github.com/gortc/stun, type ClientAgent interface, SetHandler(Handler) error
|
|
pkg github.com/gortc/stun, type ClientAgent interface, Start([12]uint8, time.Time) error
|
|
pkg github.com/gortc/stun, type ClientOptions struct, Handler Handler
|
|
pkg github.com/gortc/stun, type ClientOptions struct, Clock Clock
|
|
pkg github.com/gortc/stun, type ClientOptions struct, Collector Collector
|
|
pkg github.com/gortc/stun, type ClientOptions struct, RTO time.Duration
|
|
pkg github.com/gortc/stun, func NewAgent(Handler) *Agent
|
|
pkg github.com/gortc/stun, var NoopHandler Handler
|