2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 16:10:59 +08:00

refactor: 重构types包

This commit is contained in:
耗子
2024-06-23 01:32:45 +08:00
parent 89e133c626
commit 7ff084e5a8
47 changed files with 41 additions and 35 deletions

View File

@@ -63,6 +63,7 @@ func (t *Turn) Write(p []byte) (n int, err error) {
return writer.Write(p)
}
func (t *Turn) Close() error {
if t.Session != nil {
t.Session.Close()