sing-box/common/tls/server.go

13 lines
270 B
Go
Raw Permalink Normal View History

2022-09-10 02:27:00 +00:00
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)
}