()
| 250 | } |
| 251 | |
| 252 | func (s *Sip003) String() string { |
| 253 | list := []string{s.Name} |
| 254 | if s.Opts.Obfs != "" { |
| 255 | list = append(list, "obfs="+s.Opts.Obfs) |
| 256 | } |
| 257 | if s.Opts.Host != "" { |
| 258 | list = append(list, "obfs-host="+s.Opts.Host) |
| 259 | } |
| 260 | if s.Opts.Path != "" { |
| 261 | list = append(list, "obfs-uri="+s.Opts.Path) |
| 262 | } |
| 263 | return strings.Join(list, ";") |
| 264 | } |
| 265 | |
| 266 | func (s *Shadowsocks) ExportToURL() string { |
| 267 | // sip002 |
no outgoing calls
no test coverage detected