mirror of
				https://github.com/bolucat/Archive.git
				synced 2025-10-31 11:57:05 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			478 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			478 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"
 | |
| 	"github.com/sagernet/sing/common/logger"
 | |
| )
 | |
| 
 | |
| 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`)
 | |
| }
 | 
![github-action[bot]](/assets/img/avatar_default.png)