refactor: Enhance MySQL inbound handling with identity provider support

This commit is contained in:
n3t1zen
2026-02-24 12:50:25 +08:00
parent bab5784ce5
commit 4d3190480d
2 changed files with 27 additions and 25 deletions

View File

@@ -3,11 +3,15 @@ package option
type MySQLInboundOptions struct {
ListenOptions
InboundTLSOptionsContainer
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
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