io

package
v0.0.0-...-35fdc94 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringToVUser

func StringToVUser(id string) (u core.VUser, err error)

Types

type JsonVConfig

type JsonVConfig struct {
	RunAs    string      `json:"runas"`
	Port     uint8       `json:"port"`
	Clients  []JsonVUser `json:"users"`
	Protocol string      `json:"protocol"`
}

type JsonVConfigUnmarshaller

type JsonVConfigUnmarshaller struct {
}

func (*JsonVConfigUnmarshaller) Unmarshall

func (*JsonVConfigUnmarshaller) Unmarshall(data []byte) (*core.VConfig, error)

type JsonVUser

type JsonVUser struct {
	// contains filtered or unexported fields
}

type VMessInput

type VMessInput struct {
	// contains filtered or unexported fields
}

type VMessReader

type VMessReader struct {
	// contains filtered or unexported fields
}

func NewVMessReader

func NewVMessReader(conn *net.Conn) (VMessReader, error)

func (*VMessReader) Read

func (*VMessReader) Read() (VMessInput, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳