modulepackage
2.51.2+incompatible
Repository: https://github.com/delphit430/v2ray-core.git
Documentation: pkg.go.dev
# README
Project V
V 是一个模块化的代理软件包,它的目标是提供常用的代理软件模块,简化网络代理软件的开发。
V provides building blocks for network proxy development. Read our Wiki for more information.
License
Credits
This repo relies on the following third-party projects:
- In production:
- For testing only:
# Packages
No description provided by the author
Package common contains common utilities that are shared among other packages.
No description provided by the author
Package proxy contains all proxies used by V2Ray.
No description provided by the author
Package tools contains utilities that is not directly linked into V2Ray binary.
No description provided by the author
# Functions
LoadConfig loads config with given format from given source.
LoadPlugins loads all possible plugins in the 'plugin' directory.
New creates a new V2Ray server with given config.
PrintVersion prints current version into console.
RegisterConfigLoader add a new ConfigLoader.
Version returns V2Ray's version as a string, in the form of "x.y.z" where x, y and z are numbers.
# Constants
No description provided by the author
No description provided by the author
GetMetadataFuncName is the name of the function in the plugin to return PluginMetadata.
# Variables
No description provided by the author
No description provided by the author
# Structs
Master config of V2Ray.
PluginMetadata contains some brief information regarding a plugin.
# Interfaces
Server is an instance of V2Ray.
# Type aliases
Configuration serialization format.
ConfigLoader is an utility to load V2Ray config from external source.
GetMetadataFunc is the type of the function in the plugin to return PluginMetadata.