initial
This commit is contained in:
@@ -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"`
|
||||
+}
|
||||
Reference in New Issue
Block a user