share

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(g *echo.Group)

Types

type Params

type Params struct {
	UUID   string `form:"uuid"`
	Remark string `form:"remark"`
}

type VNEXT

type VNEXT struct {
	Version string `json:"v"`          // version
	Remark  string `json:"ps"`         //remark
	Address string `json:"add"`        // server addr
	Port    string `json:"port"`       //
	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
}

Jump to

Keyboard shortcuts

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