Documentation
¶
Index ¶
- type ChainInfo
- type Link
- type Manager
- func (x *Manager) Create(link string, autoRun bool) (string, error)
- func (x *Manager) Delete(name string) error
- func (x *Manager) Get(name string) (ChainInfo, error)
- func (x *Manager) Infos() (map[string]ChainInfo, error)
- func (x *Manager) IsChain(name string) bool
- func (x *Manager) List() ([]string, error)
- func (x *Manager) ListAuto() ([]string, error)
- func (x *Manager) SetAutoRun(name string, autoRun bool) error
- func (x *Manager) Start(ctx context.Context, name string) error
- func (x *Manager) Test(name string) (string, error)
- func (x *Manager) Update(name, link string) error
- type Protocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
Protocol Protocol
Tag string
Address string
Port int
UUID string
AlterID int
Cipher string
Encryption string
Flow string
Method string
Password string
Plugin string
Network string
Security string
HeaderType string
Path string
Host string
SNI string
ALPN string
Fingerprint string
AllowInsecure bool
PublicKey string
ShortID string
MLDSA65Verify string
SpiderX string
ServiceName string
Authority string
Mode string
MultiMode bool
IdleTimeout int
HealthCheckTimeout int
PermitWithoutStream bool
InitialWindowsSize int
UserAgent string
Seed string
MTU int
TTI int
UplinkCapacity int
DownlinkCapacity int
ReadBufferSize int
WriteBufferSize int
Congestion bool
AcceptProxyProtocol bool
}
Click to show internal directories.
Click to hide internal directories.