Added test to Packets and more

This commit is contained in:
Pablu23
2023-12-06 17:13:37 +01:00
parent 38876f6577
commit 5ccd83c9da
7 changed files with 68 additions and 7 deletions

View File

@@ -37,6 +37,10 @@ func New() (*Server, error) {
return nil, err
}
log.SetFormatter(&log.TextFormatter{
ForceColors: true,
})
return &Server{
sessions: make(map[common.SessionID]*info),
rsa: key,