mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 21:43:50 +08:00
13 lines
270 B
Go
13 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)
|
||
|
}
|