services

package
v0.0.0-...-1aaf8f9 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Services

Eggcrate is broken up into logical "services". Each service implements one or more endpoints.

METHOD REQUEST QUERY PARAMS RESP
GET /ping pong
GET /productFunnel ?from=<number>&to=<number> {"SearchViews":<number>,"PdpViews":<number>,"CartClicks":<number>,"CheckoutClicks":<number>,"Purchases":<number>,"SearchToPdp":<number>,"PdpToCart":<number>,"CartToCheckout":<number>,"CheckoutPurchased":<number>}
GET /productFunnel/:id ?from=<number>&to=<number> {"SearchViews":<number>,"PdpViews":<number>,"CartClicks":<number>,"CheckoutClicks":<number>,"Purchases":<number>,"SearchToPdp":<number>,"PdpToCart":<number>,"CartToCheckout":<number>,"CheckoutPurchased":<number>}
GET /productSum/:page/ ?from=<number>&to=<number> {"Step":<string>,"Sum":<number>}
GET /productSum/:page/:id ?from=<number>&to=<number> {"Step":<string>,"Sum":<number>}
GET /productStats/:channel/:id ?from=<number>&to=<number> {"TotalRevenue":<number>,"TotalOrders":<number>TotalPdPViews":<number>,"TotalInCarts":<number>,"ProductConversionRate":<number>,"Average":{"TotalRevenue":<number>,"TotalOrders":<number>,"TotalPdPViews":<number>,"TotalInCarts":<number>,"ProductConversionRate":<number>},"ActiveProducts":<number>}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProductFunnel

func GetProductFunnel(c echo.Context) error

func GetProductStats

func GetProductStats(c echo.Context) error

func GetProductSum

func GetProductSum(step string) func(c echo.Context) error

func ProductQuery

func ProductQuery(id string, verbs []string, a, b string) (responses.HenhouseResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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