buildin

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientTLSConfig

func GetClientTLSConfig() (_ *tls.Config, err error)

func GetPassphase

func GetPassphase() (decrypt string)

func GetSSLPath

func GetSSLPath(path string) string

func GetServerTLSConfig

func GetServerTLSConfig() (_ *tls.Config, err error)

func New

func New() mgr.Instance

Types

type DefaultTLS

type DefaultTLS struct {
}

DefaultTLS support new the *tls.Config object from certs and private key with password

func (*DefaultTLS) ClientConfig

func (c *DefaultTLS) ClientConfig() (*tls.Config, error)

func (*DefaultTLS) ServerConfig

func (c *DefaultTLS) ServerConfig() (*tls.Config, error)

Jump to

Keyboard shortcuts

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