created alias for [][]byte (HeaderValue) for better readability

This commit is contained in:
xdrm-brackets 2018-04-25 17:00:51 +02:00
parent fcdcb42b62
commit 2edafff0f5
1 changed files with 4 additions and 1 deletions

View File

@ -14,9 +14,12 @@ const (
WSVERSION
)
// HeaderValue represents a unique or multiple header value(s)
type HeaderValue [][]byte
// T represents the data of a HTTP request header
type T struct{
Name HeaderType
Values [][]byte
Values HeaderValue
}