Add ssh outbound

This commit is contained in:
世界
2022-08-21 19:36:08 +08:00
parent c71f6ba377
commit dc6bb7ab1b
12 changed files with 319 additions and 5 deletions

View File

@@ -11,7 +11,6 @@ import (
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/option"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
)
type acmeWrapper struct {
@@ -29,7 +28,7 @@ func (w *acmeWrapper) Close() error {
return nil
}
func startACME(ctx context.Context, logger logger.Logger, options option.InboundACMEOptions) (*tls.Config, adapter.Service, error) {
func startACME(ctx context.Context, options option.InboundACMEOptions) (*tls.Config, adapter.Service, error) {
var acmeServer string
switch options.Provider {
case "", "letsencrypt":