make the protocol package internal

This commit is contained in:
Marten Seemann
2017-08-30 00:19:44 +07:00
parent 524ecb5827
commit f1ada87dcf
133 changed files with 185 additions and 123 deletions

View 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
)