mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-02-27 03:31:18 +00:00
12 lines
270 B
Go
12 lines
270 B
Go
package tls
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/sagernet/sing-box/log"
|
|
"github.com/sagernet/sing-box/option"
|
|
)
|
|
|
|
func NewServer(ctx context.Context, logger log.Logger, options option.InboundTLSOptions) (ServerConfig, error) {
|
|
return newSTDServer(ctx, logger, options)
|
|
}
|