refactor: Enhance MySQL inbound handling with identity provider support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user