Documentation ¶
Index ¶
- func Certificate(host ...string) (tls.Certificate, error)
- func CopyTo(dst io.Writer, src io.Reader) (written int64, err error)
- func GenerateTLSConfig(host ...string) *tls.Config
- func QuicClient(endpoint string) (quicGo.Stream, error)
- func QuicServer(endpoint string, plugin plugin.YomoObjectPlugin, codec *json.Codec)
- type YomoFrameworkStreamWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Certificate ¶
func Certificate(host ...string) (tls.Certificate, error)
func GenerateTLSConfig ¶
GenerateTLSConfig Setup a bare-bones TLS config for the server
func QuicClient ¶
QuicClient create new QUIC client
func QuicServer ¶
func QuicServer(endpoint string, plugin plugin.YomoObjectPlugin, codec *json.Codec)
QuicServer create a QUIC server
Types ¶
type YomoFrameworkStreamWriter ¶
type YomoFrameworkStreamWriter struct { Name string Codec *json.Codec Plugin plugin.YomoObjectPlugin io.Writer }
YomoFrameworkStreamWriter is the stream of framework
Click to show internal directories.
Click to hide internal directories.