sing-box/common/tls/acme_stub.go

17 lines
406 B
Go
Raw Permalink Normal View History

//go:build !with_acme
2022-09-09 10:45:10 +00: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"
)
2022-08-21 11:36:08 +00:00
func startACME(ctx context.Context, options option.InboundACMEOptions) (*tls.Config, adapter.Service, error) {
return nil, nil, E.New(`ACME is not included in this build, rebuild with -tags with_acme`)
}