Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShadowsocksR ¶
func NewShadowsocksR(option *dialer.GlobalOption, iOption dialer.InstanceOption, link string) (*dialer.Dialer, error)
Types ¶
type ShadowsocksR ¶
type ShadowsocksR struct {
Name string `json:"name"`
Server string `json:"server"`
Port int `json:"port"`
Password string `json:"password"`
Cipher string `json:"cipher"`
Proto string `json:"proto"`
ProtoParam string `json:"protoParam"`
Obfs string `json:"obfs"`
ObfsParam string `json:"obfsParam"`
Protocol string `json:"protocol"`
}
func ParseSSRURL ¶
func ParseSSRURL(u string) (data *ShadowsocksR, err error)
func (*ShadowsocksR) Dialer ¶
func (s *ShadowsocksR) Dialer(option *dialer.GlobalOption, iOption dialer.InstanceOption) (*dialer.Dialer, error)
func (*ShadowsocksR) ExportToURL ¶
func (s *ShadowsocksR) ExportToURL() string
Click to show internal directories.
Click to hide internal directories.