review

package
v0.0.0-...-056bc10 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assemble

func Assemble(e *echo.Echo, m Manager, middleware ...echo.MiddlewareFunc)

Types

type Config

type Config struct {
	Storage storage.Client
	IDGen   utils.IDGen
}

type Manager

type Manager interface {
	CreateReview(ctx context.Context, userID string, review types.ReviewDTO) (string, error)
	AddImage(ctx context.Context, r io.Reader, fileName string, contentType string) error
}

func NewManager

func NewManager(config Config) Manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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