transport

package
v0.0.0-...-57b518e Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal     = authapi.Error{CodeInt: http.StatusConflict, Message: "There was a problem"}
	ErrInvalidID    = authapi.Error{CodeInt: http.StatusUnprocessableEntity, Message: "Invalid ID"}
	ErrInvalidValue = authapi.Error{CodeInt: http.StatusUnprocessableEntity, Message: "Invalid Value"}
)

Functions

func NewHTTP

func NewHTTP(svc project.Service, r *echo.Group, db *sqlx.DB)

Types

type CreateResp

type CreateResp struct {
	ID uuid.UUID `json:"id"`
}

type HTTP

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

Jump to

Keyboard shortcuts

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