1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-15 00:05:15 +02:00

Chore: Code cleanup, remove redundant functionality

This commit is contained in:
Ralph Slooten
2024-03-24 21:37:37 +13:00
parent 61241f11ac
commit 83c70aa7c1
18 changed files with 61 additions and 170 deletions

View File

@ -22,14 +22,10 @@ const (
// Send pings to peer with this period. Must be less than pongWait.
pingPeriod = (pongWait * 9) / 10
// Maximum message size allowed from peer.
maxMessageSize = 512
)
var (
newline = []byte{'\n'}
space = []byte{' '}
// MessageHub global
MessageHub *Hub