aws

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TableName = "puppet-dynamodb-otp"

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() (*Client, error)

func (*Client) Create

func (svc *Client) Create(expire_at_unix int64, fqdn string, otp_token string)

func (*Client) Delete

func (svc *Client) Delete(fqdn string)

func (*Client) Read

func (svc *Client) Read(fqdn string) (Otp_token, error)

func (*Client) ReadAll

func (svc *Client) ReadAll() []Otp_token

type Otp_token

type Otp_token struct {
	Expire_at_unix   int64
	Fqdn             string
	Token_table_item string
}

Jump to

Keyboard shortcuts

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