This commit is contained in:
InkerBot
2026-03-05 13:33:05 +08:00
commit 648aa93360
22 changed files with 1427 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
--- /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"`
+}