armor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeArmor

func DecodeArmor(armorStr string) (blockType string, headers map[string]string, data []byte, err error)

func EncodeArmor

func EncodeArmor(blockType string, headers map[string]string, data []byte) (string, error)

Types

type ErrEncode

type ErrEncode struct {
	Err error
}

ErrEncode represents an error from calling EncodeArmor.

func (ErrEncode) Error

func (e ErrEncode) Error() string

func (ErrEncode) Unwrap

func (e ErrEncode) Unwrap() error

Jump to

Keyboard shortcuts

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