Files
sing-box/option/mysql.go
2026-02-12 17:50:48 +08:00

19 lines
581 B
Go

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"`
}