mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-16 06:01:21 +08:00
19 lines
251 B
Go
19 lines
251 B
Go
package config
|
|
|
|
import (
|
|
"encoding/json"
|
|
)
|
|
|
|
type ShadowsocksServer struct {
|
|
Enable bool
|
|
Listen string
|
|
Password string
|
|
Cipher string
|
|
Udp bool
|
|
}
|
|
|
|
func (t ShadowsocksServer) String() string {
|
|
b, _ := json.Marshal(t)
|
|
return string(b)
|
|
}
|