uplinkutil

package
v1.88.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityConfig

type IdentityConfig struct {
	CertPath string `help:"path to the certificate chain for this identity" default:"" user:"true" path:"true"`
	KeyPath  string `help:"path to the private key for this identity" default:"" user:"true" path:"true"`
}

IdentityConfig is an intentional copy of identity.Config that has empty defaults.

func (*IdentityConfig) LoadPEMs

func (c *IdentityConfig) LoadPEMs() (certPEM, keyPEM []byte, err error)

LoadPEMs loads files and returns their byte strings if set. A possible return value of this function is nil, nil, nil.

Jump to

Keyboard shortcuts

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