vnext

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MPL-2.0 Imports: 21 Imported by: 1

README

简介

v2rayN 分享字符串的解析库

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIEmail = ""

APIEmail of vnext

Functions

func SelectHackHeader

func SelectHackHeader(name string) (headerConfig proto.Message)

SelectHackHeader select hack header

Types

type VNEXT

type VNEXT struct {
	Version string `json:"v"`           // version
	Remark  string `json:"ps"`          //remark
	Address string `json:"add"`         // server addr
	Port    uint32 `json:"port,string"` //
	ID      string `json:"id"`          //vmess id
	AlertID uint32 `json:"aid,string"`  //alertid
	Network string `json:"net"`         // 'ws'|'kcp'|'tcp'|'h2'
	Type    string `json:"Type"`        // 伪装类型
	Host    string `json:"host"`        // 伪装的域名 中间逗号(,)隔开 (http,ws,h2)
	Path    string `json:"path"`        // ws/h2 stream path
	TLS     string `json:"tls"`         // tls
}

VNEXT VNEXT

func New

func New(shareStr string) (vnext *VNEXT, err error)

New vnext string

func (VNEXT) NewVMessOutboundConfig

func (vnext VNEXT) NewVMessOutboundConfig(tag string) (config *core.OutboundHandlerConfig)

NewVMessOutboundConfig GenVMessOutboundConfig

Jump to

Keyboard shortcuts

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