interfaces

package
v0.0.0-...-657a6a2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 11 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.

Documentation

Overview

Package interfaces ... generated version: 1.6.1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(p *props.ControllerProps, e *echo.Echo, middlewareList MiddlewareList, opts ...io.Writer)

Bootstrap ...

Types

type GetHealthCheckController

type GetHealthCheckController struct {
	*props.ControllerProps
}

GetHealthCheckController ...

func NewGetHealthCheckController

func NewGetHealthCheckController(cp *props.ControllerProps) *GetHealthCheckController

NewGetHealthCheckController ...

func (*GetHealthCheckController) GetHealthCheck

GetHealthCheck health check api controller @Summary HealthCheckAPI @Description health check api @Accept json @Produce json @Success 200 {object} GetHealthCheckResponse @Failure 400 {object} wrapper.APIError @Failure 500 {object} wrapper.APIError @Router /health_check [GET]

type GetHealthCheckRequest

type GetHealthCheckRequest struct{}

GetHealthCheckRequest - health check request

type GetHealthCheckResponse

type GetHealthCheckResponse struct {
	Status string `json:"status"`
}

GetHealthCheckResponse - health check response

type IGetHealthCheckController

type IGetHealthCheckController interface {
	GetHealthCheck(c echo.Context, req *GetHealthCheckRequest) (res *GetHealthCheckResponse, err error)
}

IGetHealthCheckController ...

type MiddlewareList

type MiddlewareList []*MiddlewareSet

MiddlewareList ...

func (MiddlewareList) ToMap

func (m MiddlewareList) ToMap() MiddlewareMap

ToMap ...

type MiddlewareMap

type MiddlewareMap map[string][]echo.MiddlewareFunc

MiddlewareMap ...

type MiddlewareSet

type MiddlewareSet struct {
	Path           string
	MiddlewareFunc []echo.MiddlewareFunc
}

MiddlewareSet ...

type Routes

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

Routes ...

func NewRoutes

func NewRoutes(p *props.ControllerProps, router *echo.Group, opts ...io.Writer) *Routes

NewRoutes ...

func (*Routes) GetHealthCheck

func (r *Routes) GetHealthCheck(p *props.ControllerProps) echo.HandlerFunc

GetHealthCheck ...

Directories

Path Synopsis
api
Package api ...
Package api ...
user
Package user ...
Package user ...
user/_userID
Package _userID ...
Package _userID ...
Package props is a scaffold file for props of controllers
Package props is a scaffold file for props of controllers
Code generated by server_generator.
Code generated by server_generator.

Jump to

Keyboard shortcuts

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