tls

package
v1.18.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package tls provides tls config for yomo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientTLSConfig added in v1.7.0

func CreateClientTLSConfig() (*tls.Config, error)

CreateClientTLSConfig creates client tls config.

func CreateServerTLSConfig added in v1.7.0

func CreateServerTLSConfig(host string) (*tls.Config, error)

CreateServerTLSConfig creates server tls config.

func MustCreateClientTLSConfig added in v1.10.0

func MustCreateClientTLSConfig() *tls.Config

MustCreateClientTLSConfig creates client tls config, It is panic If error here.

func MustCreateServerTLSConfig added in v1.16.5

func MustCreateServerTLSConfig(host string) *tls.Config

MustCreateServerTLSConfig creates server tls config, It is panic If error here.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL