cert

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerCertFile = "/tmp/mtf/cert/server.crt"
	ServerKeyFile  = "/tmp/mtf/cert/server.key"
)

Functions

func WriteCert

func WriteCert(ck *CertKey) error

Types

type CertKey

type CertKey struct {
	Cert []byte
	Key  []byte
}

func GenCert

func GenCert(hosts []string) (*CertKey, error)

Jump to

Keyboard shortcuts

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