Files
sing-box-extended-mirror/common/tls/acme_stub.go
T

18 lines
478 B
Go
Raw Normal View History

//go:build !with_acme
2022-09-09 18:45:10 +08:00
package tls
import (
"context"
"crypto/tls"
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/option"
E "github.com/sagernet/sing/common/exceptions"
2025-06-29 18:44:11 +08:00
"github.com/sagernet/sing/common/logger"
)
2025-03-29 17:24:34 +08:00
func startACME(ctx context.Context, logger logger.Logger, options option.InboundACMEOptions) (*tls.Config, adapter.SimpleLifecycle, error) {
return nil, nil, E.New(`ACME is not included in this build, rebuild with -tags with_acme`)
}