Help us shape the future of Go! Take the 2026 Go Developer Survey

tlsconfig

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(details Details, skipVerify bool) (*tls.Config, error)

Types

type Details

type Details struct {
	SessionName string
	TlsConnect  string
	TlsCaFile   string
	TlsCertFile string
	TlsKeyFile  string
	RawUri      string
}

func CreateDetails

func CreateDetails(session, dbConnect, caFile, certFile, keyFile, uri string) (Details, error)

Source Files

  • tlsconfig.go

Jump to

Keyboard shortcuts

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