1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-20 04:25:59 +08:00
Files
mihomo/listener/config/shadowsocks.go

19 lines
251 B
Go
Raw Permalink Normal View History

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)
}