Files
sing-box/option/mysql.go

23 lines
627 B
Go

package option
type MySQLInboundOptions struct {
ListenOptions
InboundTLSOptionsContainer
Users []MySQLUser `json:"users,omitempty"`
Multiplex *InboundMultiplexOptions `json:"multiplex,omitempty"`
}
type MySQLUser struct {
User string `json:"user,omitempty"`
Password string `json:"password,omitempty"`
}
type MySQLOutboundOptions struct {
DialerOptions
ServerOptions
OutboundTLSOptionsContainer
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Multiplex *OutboundMultiplexOptions `json:"multiplex,omitempty"`
}