s3serializer

package
v0.0.0-...-8e6450d 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 S3Ops

type S3Ops interface {
	PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
	GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
}

type S3Serializer

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

func New

func New(s3c S3Ops, bucket, prefix string, under swfsm.StateSerializer) *S3Serializer

func (*S3Serializer) Deserialize

func (s *S3Serializer) Deserialize(deser string, state interface{}) error

func (*S3Serializer) Serialize

func (s *S3Serializer) Serialize(state interface{}) (string, error)

Jump to

Keyboard shortcuts

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