store

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRecord

type CommandRecord struct {
	CommandID  string
	PcommandID string
}

type Store

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

func New

func New(dynamodb awsclient.DynamoDB) *Store

func (*Store) CreateTablesIfNotExists

func (s *Store) CreateTablesIfNotExists() error

func (*Store) GetCommand

func (s *Store) GetCommand(commandID string) (*CommandRecord, error)

func (*Store) PutCommand

func (s *Store) PutCommand(r *CommandRecord) error

Jump to

Keyboard shortcuts

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