blob: 23ae9466d704b4205071f6ef15dc1008165dbad4 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package server
// Version identifies the protocol version used on one v0/v1 server session.
type Version uint8
const (
// Version0 is the original protocol framing with no leading version line.
Version0 Version = iota
// Version1 is protocol v1, which is v0 plus one leading "version 1\n"
// pkt-line before ref advertisement.
Version1
)
|