vmess

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2020 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(b64 string) ([]byte, error)

Types

type VmessLink struct {
	Ver      string      `json:"v"`
	Add      string      `json:"add"`
	Aid      interface{} `json:"aid"`
	Host     string      `json:"host"`
	ID       string      `json:"id"`
	Net      string      `json:"net"`
	Path     string      `json:"path"`
	Port     interface{} `json:"port"`
	Ps       string      `json:"ps"`
	TLS      string      `json:"tls"`
	Type     string      `json:"type"`
	OrigLink string      `json:"-"`
}

func NewQuanVmess added in v0.0.9

func NewQuanVmess(vmess string) (*VmessLink, error)

func NewRkVmess

func NewRkVmess(vmess string) (*VmessLink, error)

func NewVnVmess

func NewVnVmess(vmess string) (*VmessLink, error)

func ParseVmess

func ParseVmess(vmess string) (*VmessLink, error)

func (VmessLink) DetailStr added in v0.3.0

func (v VmessLink) DetailStr() string

func (*VmessLink) IsEqual

func (v *VmessLink) IsEqual(c *VmessLink) bool

func (VmessLink) LinkStr

func (v VmessLink) LinkStr(linkType string) string

func (VmessLink) String

func (v VmessLink) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL