Documentation
¶
Index ¶
- Variables
- func NewTrojan(outboundSettings json.RawMessage, userAccount json.RawMessage) (*trojan, error)
- func NewVless(outboundSettings json.RawMessage, userAccount json.RawMessage) (*vless, error)
- func NewVmess(outboundSettings json.RawMessage, userAccount json.RawMessage) (*vmess, error)
- type IllegalPortError
- type ParseAccountError
- type ParseSettingsError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoHost = errors.New("no address or port specified")
View Source
var ErrNoId = errors.New("no id or password specified")
Functions ¶
func NewTrojan ¶
func NewTrojan(outboundSettings json.RawMessage, userAccount json.RawMessage) (*trojan, error)
func NewVless ¶
func NewVless(outboundSettings json.RawMessage, userAccount json.RawMessage) (*vless, error)
func NewVmess ¶
func NewVmess(outboundSettings json.RawMessage, userAccount json.RawMessage) (*vmess, error)
Types ¶
type IllegalPortError ¶
type IllegalPortError uint16
func (IllegalPortError) Error ¶
func (e IllegalPortError) Error() string
type ParseAccountError ¶
type ParseAccountError struct {
// contains filtered or unexported fields
}
func (*ParseAccountError) Error ¶
func (e *ParseAccountError) Error() string
func (*ParseAccountError) Unwrap ¶
func (e *ParseAccountError) Unwrap() error
type ParseSettingsError ¶
type ParseSettingsError struct {
// contains filtered or unexported fields
}
func (*ParseSettingsError) Error ¶
func (e *ParseSettingsError) Error() string
func (*ParseSettingsError) Unwrap ¶
func (e *ParseSettingsError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.