cmd

package
v0.0.0-...-fbf086c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdGenerateKey

func CmdGenerateKey(cmd *cli.Cmd)

CmdGenerateKey implements the generation for a tls key

func Daemon

func Daemon(cmd *cli.Cmd)

Daemon controls the daemon command

func DaemonStart

func DaemonStart(cmd *cli.Cmd)

DaemonStart starts the daemon either on foreground or background mode

func DaemonStop

func DaemonStop(cmd *cli.Cmd)

DaemonStop stops the daemon by sending the stop command to background process

func GenKeyFiles

func GenKeyFiles(prefix, cn string) error

GenKeyFiles generates a EC P256 private key and x509 certificate, writes to files with given prefix. CN is set, lifetime is 1yr

Types

This section is empty.

Jump to

Keyboard shortcuts

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