sharing_link

package
v0.0.0-...-c5d1e48 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Juicity

type Juicity struct {
	Name                  string
	Server                string
	Port                  int
	User                  string
	Password              string
	Sni                   string
	AllowInsecure         bool
	CongestionControl     string
	PinnedCertchainSha256 string
	Protocol              string
}

func (*Juicity) ExportToURL

func (t *Juicity) ExportToURL() string

type SIP002

type SIP002 struct {
	Name     string `json:"name"`
	Server   string `json:"server"`
	Port     int    `json:"port"`
	Password string `json:"password"`
	Cipher   string `json:"cipher"`
	Plugin   SIP003 `json:"plugin"`
}

func (*SIP002) ExportToURL

func (s *SIP002) ExportToURL() string

type SIP003

type SIP003 struct {
	Name string     `json:"name"`
	Opts SIP003Opts `json:"opts"`
}

func ParseSIP003

func ParseSIP003(plugin string) SIP003

func (*SIP003) String

func (s *SIP003) String() string

type SIP003Opts

type SIP003Opts struct {
	Tls  string `json:"tls"`
	Obfs string `json:"obfs"`
	Host string `json:"host"`
	Path string `json:"uri"`
}

func ParseSIP003Opts

func ParseSIP003Opts(opts string) SIP003Opts

type SIP008

type SIP008 struct {
	Version        int            `json:"version"`
	Servers        []SIP008Server `json:"servers"`
	BytesUsed      int64          `json:"bytes_used"`
	BytesRemaining int64          `json:"bytes_remaining"`
}

func (SIP008) ExportToString

func (s SIP008) ExportToString() string

type SIP008Server

type SIP008Server struct {
	Id         string `json:"id"`
	Remarks    string `json:"remarks"`
	Server     string `json:"server"`
	ServerPort int    `json:"server_port"`
	Password   string `json:"password"`
	Method     string `json:"method"`
	Plugin     string `json:"plugin"`
	PluginOpts string `json:"plugin_opts"`
}

type V2RayN

type V2RayN struct {
	Ps   string `json:"ps"`
	Add  string `json:"add"`
	Port string `json:"port"`
	ID   string `json:"id"`
	Aid  string `json:"aid"`
	Net  string `json:"net,omitempty"`
	Type string `json:"type,omitempty"`
	Host string `json:"host,omitempty"`
	Path string `json:"path,omitempty"`
	TLS  string `json:"tls,omitempty"`
	Sni  string `json:"sni,omitempty"`
	V    string `json:"v"`
}

func (*V2RayN) ExportToURL

func (v *V2RayN) ExportToURL() string

Jump to

Keyboard shortcuts

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