mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 17:05:40 +08:00
17 lines
406 B
Go
17 lines
406 B
Go
//go:build !with_acme
|
|
|
|
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"
|
|
)
|
|
|
|
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`)
|
|
}
|