guppy

package
v0.0.0-...-019b219 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GuppyLibrary

type GuppyLibrary struct {
	Utils utils.UtilsInterface
}

func GuppyLibraryHandler

func GuppyLibraryHandler() *GuppyLibrary

func (*GuppyLibrary) CheckUserConfig

func (libs *GuppyLibrary) CheckUserConfig() error

CheckUserConfig ...

func (*GuppyLibrary) DecryptValue

func (libs *GuppyLibrary) DecryptValue(value string) ([]byte, error)

DecryptValue ...

func (*GuppyLibrary) EncryptValue

func (libs *GuppyLibrary) EncryptValue(value string) ([]byte, error)

EncryptValue ...

func (*GuppyLibrary) GetClients

func (libs *GuppyLibrary) GetClients() (*etcd.EtcdLibs, error)

GetClients ...

func (*GuppyLibrary) PutByPath

func (libs *GuppyLibrary) PutByPath(data *entity.RequestPayload) error

PutByPath ..

type GuppyLibraryInterface

type GuppyLibraryInterface interface {
	GetClients() (*etcd.EtcdLibs, error)
	EncryptValue(value string) ([]byte, error)
	DecryptValue(value string) ([]byte, error)
	PutByPath(data *entity.RequestPayload) error
	CheckUserConfig() error
}

Jump to

Keyboard shortcuts

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