builder

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInbound

func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.InboundHandlerConfig, error)

BuildInbound build Inbound config for different protocol

func BuildOutbound

func BuildOutbound(config *conf2.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.OutboundHandlerConfig, error)

BuildOutbound build freedom outbund config for addoutbound

func BuildSSUser

func BuildSSUser(tag string, userInfo *panel.UserInfo, cypher shadowsocks.CipherType, serverKey string) (user *protocol.User)

func BuildSSUsers

func BuildSSUsers(tag string, userInfo []panel.UserInfo, cypher shadowsocks.CipherType, serverKey string) (users []*protocol.User)

func BuildTrojanUser

func BuildTrojanUser(tag string, userInfo *panel.UserInfo) (user *protocol.User)

func BuildTrojanUsers

func BuildTrojanUsers(tag string, userInfo []panel.UserInfo) (users []*protocol.User)

func BuildUserTag

func BuildUserTag(tag string, user *panel.UserInfo) string

func BuildVlessUser

func BuildVlessUser(tag string, userInfo *panel.UserInfo, xtls bool) (user *protocol.User)

func BuildVlessUsers

func BuildVlessUsers(tag string, userInfo []panel.UserInfo, xtls bool) (users []*protocol.User)

func BuildVmessUser

func BuildVmessUser(tag string, userInfo *panel.UserInfo) (user *protocol.User)

func BuildVmessUsers

func BuildVmessUsers(tag string, userInfo []panel.UserInfo) (users []*protocol.User)

Types

This section is empty.

Jump to

Keyboard shortcuts

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