mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
Chore: fix typos (#295)
This commit is contained in:
@@ -14,7 +14,7 @@ type ColorBuffer struct {
|
||||
buffer.Buffer
|
||||
}
|
||||
|
||||
// color pallete map
|
||||
// color palette map
|
||||
var (
|
||||
colorOff = []byte("\033[0m")
|
||||
colorRed = []byte("\033[0;31m")
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ type ConnListener interface {
|
||||
}
|
||||
|
||||
// PacketListener accept UDP packet stream
|
||||
// We don't have any tunnel based on packet streams, so AcceptPacket will always recieve a real PacketConn
|
||||
// We don't have any tunnel based on packet streams, so AcceptPacket will always receive a real PacketConn
|
||||
type PacketListener interface {
|
||||
AcceptPacket(Tunnel) (PacketConn, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user