2022-08-19 07:42:57 +00:00
|
|
|
//go:build !with_acme
|
|
|
|
|
|
|
|
package inbound
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"crypto/tls"
|
|
|
|
|
|
|
|
"github.com/sagernet/sing-box/adapter"
|
|
|
|
"github.com/sagernet/sing-box/option"
|
|
|
|
E "github.com/sagernet/sing/common/exceptions"
|
2022-08-19 10:05:26 +00:00
|
|
|
"github.com/sagernet/sing/common/logger"
|
2022-08-19 07:42:57 +00:00
|
|
|
)
|
|
|
|
|
2022-08-19 10:05:26 +00:00
|
|
|
func startACME(ctx context.Context, logger logger.Logger, options option.InboundACMEOptions) (*tls.Config, adapter.Service, error) {
|
2022-08-19 07:42:57 +00:00
|
|
|
return nil, nil, E.New(`ACME is not included in this build, rebuild with -tags with_acme`)
|
|
|
|
}
|