github.com/sagernet/sing-box@v1.9.0-rc.20/common/tls/acme_stub.go (about) 1 //go:build !with_acme 2 3 package tls 4 5 import ( 6 "context" 7 "crypto/tls" 8 9 "github.com/sagernet/sing-box/adapter" 10 "github.com/sagernet/sing-box/option" 11 E "github.com/sagernet/sing/common/exceptions" 12 ) 13 14 func startACME(ctx context.Context, options option.InboundACMEOptions) (*tls.Config, adapter.Service, error) { 15 return nil, nil, E.New(`ACME is not included in this build, rebuild with -tags with_acme`) 16 }