19 lines
581 B
Go
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"`
|
|
}
|