shared

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEncryptor

func GetEncryptor(config config.Encryptor) (encryptor.EncryptDecryptor, error)

GetEncryptor returns a concrete type that implements EncryptDecryptor based on the configured Encryptor value in the config file.

func GetStore

func GetStore(config config.Store) (store.Interface, error)

GetStore returns a concrete type that implements store.Interface based on the configured Store value in the config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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