simplified

package
v5.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 16 Imported by: 6 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proxy_shadowsocks_simplified_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CipherTypeWrapper added in v5.8.0

type CipherTypeWrapper struct {
	Value shadowsocks.CipherType `protobuf:"varint,1,opt,name=value,proto3,enum=v2ray.core.proxy.shadowsocks.CipherType" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CipherTypeWrapper) Descriptor deprecated added in v5.8.0

func (*CipherTypeWrapper) Descriptor() ([]byte, []int)

Deprecated: Use CipherTypeWrapper.ProtoReflect.Descriptor instead.

func (*CipherTypeWrapper) GetValue added in v5.8.0

func (*CipherTypeWrapper) MarshalJSONPB added in v5.21.0

func (c *CipherTypeWrapper) MarshalJSONPB(marshaler *jsonpb.Marshaler) ([]byte, error)

func (*CipherTypeWrapper) ProtoMessage added in v5.8.0

func (*CipherTypeWrapper) ProtoMessage()

func (*CipherTypeWrapper) ProtoReflect added in v5.8.0

func (x *CipherTypeWrapper) ProtoReflect() protoreflect.Message

func (*CipherTypeWrapper) Reset added in v5.8.0

func (x *CipherTypeWrapper) Reset()

func (*CipherTypeWrapper) String added in v5.8.0

func (x *CipherTypeWrapper) String() string

func (*CipherTypeWrapper) UnmarshalJSONPB added in v5.8.0

func (c *CipherTypeWrapper) UnmarshalJSONPB(unmarshaler *jsonpb.Unmarshaler, bytes []byte) error

type ClientConfig

type ClientConfig struct {
	Address                        *net.IPOrDomain    `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port                           uint32             `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Method                         *CipherTypeWrapper `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	Password                       string             `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	ExperimentReducedIvHeadEntropy bool               `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ClientConfig) Descriptor deprecated

func (*ClientConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.

func (*ClientConfig) GetAddress

func (x *ClientConfig) GetAddress() *net.IPOrDomain

func (*ClientConfig) GetExperimentReducedIvHeadEntropy added in v5.0.3

func (x *ClientConfig) GetExperimentReducedIvHeadEntropy() bool

func (*ClientConfig) GetMethod

func (x *ClientConfig) GetMethod() *CipherTypeWrapper

func (*ClientConfig) GetPassword

func (x *ClientConfig) GetPassword() string

func (*ClientConfig) GetPort

func (x *ClientConfig) GetPort() uint32

func (*ClientConfig) ProtoMessage

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) ProtoReflect

func (x *ClientConfig) ProtoReflect() protoreflect.Message

func (*ClientConfig) Reset

func (x *ClientConfig) Reset()

func (*ClientConfig) String

func (x *ClientConfig) String() string

type ServerConfig

type ServerConfig struct {
	Method         *CipherTypeWrapper        `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Password       string                    `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Networks       *net.NetworkList          `protobuf:"bytes,3,opt,name=networks,proto3" json:"networks,omitempty"`
	PacketEncoding packetaddr.PacketAddrType `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerConfig) Descriptor deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetMethod

func (x *ServerConfig) GetMethod() *CipherTypeWrapper

func (*ServerConfig) GetNetworks added in v5.0.8

func (x *ServerConfig) GetNetworks() *net.NetworkList

func (*ServerConfig) GetPacketEncoding added in v5.0.2

func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType

func (*ServerConfig) GetPassword

func (x *ServerConfig) GetPassword() string

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

Jump to

Keyboard shortcuts

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