Documentation ¶ Index ¶ Variables type Client func New() (*Client, error) func (svc *Client) Create(expire_at_unix int64, fqdn string, otp_token string) func (svc *Client) Delete(fqdn string) func (svc *Client) Read(fqdn string) (Otp_token, error) func (svc *Client) ReadAll() []Otp_token type Otp_token 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 } Source Files ¶ View all Source files client.godynamodb.go Click to show internal directories. Click to hide internal directories.