flagvars

package module
v0.0.0-...-434947a Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesBase64

func BytesBase64(p *[]byte, value []byte) flag.Value

BytesBase64 creates and returns a new flag.Value compliant base64 bytes parser.

func BytesFile

func BytesFile(p *[]byte, value string) flag.Value

BytesFile creates and returns a new flag.Value compliant base64 bytes parser.

func BytesHex

func BytesHex(p *[]byte, value []byte) flag.Value

BytesHex creates and returns a new flag.Value compliant hex bytes parser.

func CertPool

func CertPool(c *x509.CertPool) flag.Value

CertPool creates and returns a new flag.Value compliant AppendCertsFromPEM parser.

func Certificate

func Certificate(c *x509.Certificate) flag.Value

Certificate creates and returns a new flag.Value compliant Certificates parser.

func Certificates

func Certificates(c *[]*x509.Certificate) flag.Value

Certificates creates and returns a new flag.Value compliant Certificates parser.

func ECDSAPrivateKey

func ECDSAPrivateKey(p *ecdsa.PrivateKey) flag.Value

ECDSAPrivateKey creates and returns a new flag.Value compliant ECDSA PrivateKey parser.

func ECDSAPublicKey

func ECDSAPublicKey(p *ecdsa.PublicKey) flag.Value

ECDSAPublicKey creates and returns a new flag.Value compliant ECDSA PublicKey parser.

func RSAPrivateKey

func RSAPrivateKey(p *rsa.PrivateKey) flag.Value

RSAPrivateKey creates and returns a new flag.Value compliant RSA PrivateKey parser.

func RSAPublicKey

func RSAPublicKey(p *rsa.PublicKey) flag.Value

RSAPublicKey creates and returns a new flag.Value compliant RSA PublicKey parser.

func TLSCertificate

func TLSCertificate(c *tls.Certificate) flag.Value

TLSCertificate creates and returns a new flag.Value compliant X509KeyPair parser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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