encrypt

package
v0.0.0-...-ae06814 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncrypt

func NewEncrypt(encryptionService EncryptionService, documentManipulator YamlManipulator) *encrypt

NewEncrypt constructor of encrypt use case

Types

type EncryptionService

type EncryptionService interface {
	Encrypt([]byte) ([]byte, error)
}

type YamlManipulator

type YamlManipulator interface {
	ApplyToLeafs(callback func([]byte) ([]byte, error), data interface{}) (interface{}, error)
}

data types: yaml.MapSlice, yaml.MapItem, and Exact value

Jump to

Keyboard shortcuts

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