Files
anytls-go/cmd/server/myserver.go
2025-02-10 20:00:48 +09:00

17 lines
197 B
Go

package main
import (
"crypto/tls"
)
type myServer struct {
tlsConfig *tls.Config
}
func NewMyServer(tlsConfig *tls.Config) *myServer {
s := &myServer{
tlsConfig: tlsConfig,
}
return s
}