rest

package
v0.0.0-...-b80d976 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestEngine

func NewRestEngine(ctn *registry.Container) *gin.Engine

Types

type RequestHandler

type RequestHandler interface {
	// contains filtered or unexported methods
}

type UserRestDTO

type UserRestDTO struct {
	ID        string    `form:"id" json:"id"`
	CreatedAt time.Time `form:"created_at" json:"created_at"`
	FirstName string    `form:"first_name" json:"first_name" binding:"required"`
	LastName  string    `form:"last_name" json:"last_name" binding:"required"`
	Email     string    `form:"email" json:"email" binding:"required"`
}

Jump to

Keyboard shortcuts

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