加入 pjlink 控制
This commit is contained in:
8
config/wait/pjlink.go
Normal file
8
config/wait/pjlink.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package wait
|
||||
|
||||
type PJLink struct {
|
||||
Ip string
|
||||
Port string
|
||||
Password string
|
||||
Id string
|
||||
}
|
||||
14
config/wait/wait.go
Normal file
14
config/wait/wait.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package wait
|
||||
|
||||
type Config any
|
||||
|
||||
func NewConfig(point int) Config {
|
||||
switch point {
|
||||
case 2:
|
||||
return PJLink{}
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
var C Config
|
||||
Reference in New Issue
Block a user