return nil, fmt.Errorf("unsupport proxy type: %s", proxyType) } if err != nil { return nil, err } if muxMapping, muxExist := mapping["smux"].(map[string]any); muxExist { muxOption := &outbound.SingMuxOption{} err = decoder.Decode(muxMapping, muxOption) if err != nil...
NewWireGuard(*wgOption) case "tuic": tuicOption := &outbound.TuicOption{} err = decoder.Decode(mapping, tuicOption) if err != nil { break } proxy, err = outbound.NewWireGuard(*hyOption) proxy, err = outbound.NewTuic(*tuicOption) default: return nil, fmt.Errorf("unsupport proxy type...
proxy, err = outbound.NewTrojan(*trojanOption) case "hysteria": hyOption := &outbound.HysteriaOption{} err = decoder.Decode(mapping, hyOption) if err != nil { break } proxy, err = outbound.NewHysteria(*hyOption) default: return nil, fmt.Errorf("unsupport proxy type: %s", proxyType)...
Support outbound transport protocol `Wireguard` ```yaml proxies: - name: "wg" type: wireguard server: 162.159.192.1 port: 2480 ip: 172.16.0.2 ipv6: fd01:5ca1:ab1e:80fa:ab85:6eea:213f:f4a5 private-key: eCtXsJZ27+4PbhDkHnB923tkUn2Gj59wZw5wFA75MnU= ...
使用docker hub 的 latest 镜像运行 使用订阅链接https://domain/api/surge?best=true&randomName=false&proxyFormat=full&ipv6=true 浏览器中出现 Internal Server Error 服务端 docker log: 2024-02-29 02:09:37,535 - ERROR - Exception on /api/surge [GET] Traceback (most recent call last): File ...