Files
omv-dijiang/works/patch/option/mysql.go.patch
T
2026-03-05 13:33:05 +08:00

27 lines
828 B
Diff

--- /dev/null 2026-03-05 11:06:53.990718185 +0800
+++ /data/projects/arknights/omv-dijiang/works/core/option/mysql.go 2026-03-05 13:14:38.655523071 +0800
@@ -0,0 +1,23 @@
+// OMV
+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"`
+}