internal

package
v0.0.0-...-d45408a Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// TableName is the name of the DynamoDB Table
	TableName string
)

Functions

func AddDynamoSecret

func AddDynamoSecret(secret string, ttl int64) (string, error)

func AddSqliteSecret

func AddSqliteSecret(secret string, exp int64) (string, error)

func ReturnDynamoSecret

func ReturnDynamoSecret(id string) (string, error)

func ReturnSqliteSecret

func ReturnSqliteSecret(uuid string) (string, error)

Types

type Secret

type Secret struct {
	Secret     string
	Expiration int64
	OopsID     string
}

Secret is our DynamoDB item

Jump to

Keyboard shortcuts

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