Documentation ¶
Index ¶
- func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.InboundHandlerConfig, error)
- func BuildOutbound(config *conf2.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.OutboundHandlerConfig, error)
- func BuildSSUser(tag string, userInfo *panel.UserInfo, cypher shadowsocks.CipherType, ...) (user *protocol.User)
- func BuildSSUsers(tag string, userInfo []panel.UserInfo, cypher shadowsocks.CipherType, ...) (users []*protocol.User)
- func BuildTrojanUser(tag string, userInfo *panel.UserInfo) (user *protocol.User)
- func BuildTrojanUsers(tag string, userInfo []panel.UserInfo) (users []*protocol.User)
- func BuildUserTag(tag string, user *panel.UserInfo) string
- func BuildVlessUser(tag string, userInfo *panel.UserInfo, xtls bool) (user *protocol.User)
- func BuildVlessUsers(tag string, userInfo []panel.UserInfo, xtls bool) (users []*protocol.User)
- func BuildVmessUser(tag string, userInfo *panel.UserInfo) (user *protocol.User)
- func BuildVmessUsers(tag string, userInfo []panel.UserInfo) (users []*protocol.User)
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 BuildTrojanUsers ¶
func BuildVlessUser ¶
func BuildVlessUsers ¶
func BuildVmessUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.