types

package
v0.0.0-...-a07a55b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT-0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus interface {
	Put(context.Context, []Event) ([]FailedEvent, error)
}

type Event

type Event struct {
	Source     string
	Detail     string
	DetailType string
	Resources  []string
}

type FailedEvent

type FailedEvent struct {
	Event
	FailureCode    string
	FailureMessage string
}

type Product

type Product struct {
	Id    string  `dynamodbav:"id" json:"id"`
	Name  string  `dynamodbav:"name" json:"name"`
	Price float64 `dynamodbav:"price" json:"price"`
}

type ProductRange

type ProductRange struct {
	Products []Product `json:"products"`
	Next     *string   `json:"next,omitempty"`
}

type Store

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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