transport

package
v0.0.0-...-2a11bd6 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package transport contains the HTTP service for user interactions

Index

Constants

This section is empty.

Variables

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

Custom errors

Functions

func NewHTTP

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

NewHTTP creates new user http service

Types

type HTTP

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

HTTP represents user http service

Jump to

Keyboard shortcuts

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