aboutsummaryrefslogtreecommitdiff
path: root/serve_imap.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-16 09:45:01 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-16 09:45:01 +0800
commit399e58aefa78dcbc7e5c73860fd752fea1bd389b (patch)
tree2c2c37a1282f0284162d75ceed5e6373b76996e9 /serve_imap.go
parentparse_{smtp,imap}_line (diff)
downloadmaild-399e58aefa78dcbc7e5c73860fd752fea1bd389b.tar.gz
maild-399e58aefa78dcbc7e5c73860fd752fea1bd389b.tar.zst
maild-399e58aefa78dcbc7e5c73860fd752fea1bd389b.zip
Remove imap_server_state
Diffstat (limited to 'serve_imap.go')
-rw-r--r--serve_imap.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/serve_imap.go b/serve_imap.go
index 01bb334..86a2db9 100644
--- a/serve_imap.go
+++ b/serve_imap.go
@@ -12,15 +12,6 @@ import (
"go.lindenii.runxiyu.org/lindenii-common/clog"
)
-type imap_server_state_t uint
-
-const (
- imap_server_state_begin imap_server_state_t = iota
- imap_server_state_helo
- imap_server_state_mail
- imap_server_state_rcpt
-)
-
type imap_recv_session struct {
buf_conn *bufio.ReadWriter
net_conn net.Conn