add fake mysql

This commit is contained in:
n3t1zen
2026-02-12 17:50:48 +08:00
parent 58ccf82e0b
commit bab5784ce5
9 changed files with 615 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
package option
type MySQLInboundOptions struct {
ListenOptions
InboundTLSOptionsContainer
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Multiplex *InboundMultiplexOptions `json:"multiplex,omitempty"`
}
type MySQLOutboundOptions struct {
DialerOptions
ServerOptions
OutboundTLSOptionsContainer
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
}