Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTP ¶
func NewHTTP(option *dialer.GlobalOption, iOption dialer.InstanceOption, link string) (*dialer.Dialer, error)
Types ¶
type HTTP ¶
type HTTP struct {
Name string `json:"name"`
Server string `json:"server"`
Port int `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
SNI string `json:"sni"`
Protocol string `json:"protocol"`
AllowInsecure bool `json:"allowInsecure"`
}
func ParseHTTPURL ¶
func ParseHTTPURL(link string, option *dialer.GlobalOption) (data *HTTP, err error)
func (*HTTP) Dialer ¶
func (s *HTTP) Dialer(option *dialer.GlobalOption, iOption dialer.InstanceOption) (*dialer.Dialer, error)
func (*HTTP) ExportToURL ¶
Click to show internal directories.
Click to hide internal directories.