Clash.Meta/listener/config/shadowsocks.go

18 lines
236 B
Go
Raw Normal View History

package config
import (
"encoding/json"
)
type ShadowsocksServer struct {
Enable bool
Listen string
Password string
Cipher string
}
func (t ShadowsocksServer) String() string {
b, _ := json.Marshal(t)
return string(b)
}