processor

package
v0.0.0-...-0bc8776 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(secret []byte, log io.Writer, verbose bool, in io.Reader, saver Saver) error

Decrypt decrypt JSON config values

func Encrypt

func Encrypt(secret []byte, log io.Writer, verbose bool, in io.Reader, saver Saver) error

Encrypt encrypt JSON config values

Types

type SaveFunc

type SaveFunc func(io.Writer) error

SaveFunc function called for save

type Saver

type Saver func(SaveFunc) error

Saver called when save needed

Jump to

Keyboard shortcuts

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