handlers

package
v0.0.0-demo Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAPI

func BuildAPI(database db.Database, stream streaming.Stream, storage storage.Storage, identifierService identifier.Service) *operations.TacoAPI

BuildAPI create new service API

func NewDepositFile

func NewDepositFile(database db.Database, uploader storage.Storage, identifierService identifier.Service) operations.DepositFileHandler

NewDepositFile -- Accepts requests to create a file and pushes it to s3.

func NewDepositResource

func NewDepositResource(database db.Database, stream streaming.Stream, validator validators.ResourceValidator, identifierService identifier.Service) operations.DepositResourceHandler

NewDepositResource -- Accepts requests to create resource and pushes them to Kinesis.

func NewHealthCheck

func NewHealthCheck() operations.HealthCheckHandler

NewHealthCheck will return the service health

func NewRetrieveResource

func NewRetrieveResource(database db.Database) operations.RetrieveResourceHandler

NewRetrieveResource will query DynamoDB with ID for Resource JSON

func NewUpdateResource

func NewUpdateResource(database db.Database, stream streaming.Stream, validator validators.ResourceValidator) operations.UpdateResourceHandler

NewUpdateResource -- Accepts requests to update a resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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