forked from quic-go/quic-go
10
protocol/perspective.go
Normal file
10
protocol/perspective.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package protocol
|
||||
|
||||
// Perspective determines if we're acting as a server or a client
|
||||
type Perspective int
|
||||
|
||||
// the perspectives
|
||||
const (
|
||||
PerspectiveServer Perspective = 1
|
||||
PerspectiveClient Perspective = 2
|
||||
)
|
||||
Reference in New Issue
Block a user