add certificate handling to example server

This commit is contained in:
Lucas Clemente 2016-04-12 12:18:01 +02:00
parent 1e33917574
commit 95e1b87302
2 changed files with 21 additions and 4 deletions

View file

@ -72,6 +72,8 @@ const (
TagORBT Tag = 'O' + 'R'<<8 + 'B'<<16 + 'T'<<24
// TagEXPY is the server config expiry
TagEXPY Tag = 'E' + 'X'<<8 + 'P'<<16 + 'Y'<<24
// TagCERT is the CERT data
TagCERT Tag = 0xff545243
)
var (