MCPcopy
hub / github.com/mzz2017/gg / String

Method String

dialer/shadowsocks/shadowsocks.go:252–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250}
251
252func (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
266func (s *Shadowsocks) ExportToURL() string {
267 // sip002

Callers 15

IPToBinFunction · 0.80
_makeJumpFunction · 0.80
MatchMethod · 0.80
DialerMethod · 0.80
ParseSSURLFunction · 0.80
ExportToURLMethod · 0.80
DialerMethod · 0.80
ExportToURLMethod · 0.80
NewWsFunction · 0.80
ExportToURLMethod · 0.80
DialerMethod · 0.80
ExportToURLMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected