transport

package
v0.0.0-...-c60e208 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPasswordsNotMaching = echo.NewHTTPError(http.StatusBadRequest, "passwords do not match")
)

Custom errors

Functions

func Mutation

func Mutation(c echo.Context, svc product.Service, req *model.UpdateReq) graphql.Schema

Mutation data

func NewHTTP

func NewHTTP(svc product.Service, er *echo.Group)

NewHTTP creates new product http service

func Query

Query query data by graphql

Types

type HTTP

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

HTTP represents product http service

Jump to

Keyboard shortcuts

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