Versions in this module Expand all Collapse all v4 v4.88.0 Jul 26, 2021 Changes in this version + var File_proxy_http_config_proto protoreflect.FileDescriptor + type Account struct + Password string + Username string + func (*Account) Descriptor() ([]byte, []int) + func (*Account) ProtoMessage() + func (a *Account) AsAccount() (protocol.Account, error) + func (a *Account) Equals(another protocol.Account) bool + func (x *Account) GetPassword() string + func (x *Account) GetUsername() string + func (x *Account) ProtoReflect() protoreflect.Message + func (x *Account) Reset() + func (x *Account) String() string + type Client struct + func NewClient(ctx context.Context, config *ClientConfig) (*Client, error) + func (c *Client) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error + type ClientConfig struct + Server []*protocol.ServerEndpoint + func (*ClientConfig) Descriptor() ([]byte, []int) + func (*ClientConfig) ProtoMessage() + func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint + func (x *ClientConfig) ProtoReflect() protoreflect.Message + func (x *ClientConfig) Reset() + func (x *ClientConfig) String() string + type Server struct + func NewServer(ctx context.Context, config *ServerConfig) (*Server, error) + func (*Server) Network() []net.Network + func (s *Server) Process(ctx context.Context, network net.Network, conn internet.Connection, ...) error + type ServerConfig struct + Accounts map[string]string + AllowTransparent bool + Timeout uint32 + UserLevel uint32 + func (*ServerConfig) Descriptor() ([]byte, []int) + func (*ServerConfig) ProtoMessage() + func (sc *ServerConfig) HasAccount(username, password string) bool + func (x *ServerConfig) GetAccounts() map[string]string + func (x *ServerConfig) GetAllowTransparent() bool + func (x *ServerConfig) GetTimeout() uint32 + func (x *ServerConfig) GetUserLevel() uint32 + func (x *ServerConfig) ProtoReflect() protoreflect.Message + func (x *ServerConfig) Reset() + func (x *ServerConfig) String() string Other modules containing this package github.com/maintell/v2ray-core