Back to godoc.org

Package endpoints

v0.0.0-...-9da7005
Latest Go to latest

The latest major version is .

Published: May 3, 2018 | License: MIT | Module: github.com/burxtx/gin-microservice-boilerplate

Index

func MakeGetEndpoint

func MakeGetEndpoint(s service.AppService) gin.HandlerFunc

type AppEndpoint

type AppEndpoint struct {
	GetEndpoint gin.HandlerFunc
}

func New

func New(s service.AppService) AppEndpoint

type AuthEndpoint

type AuthEndpoint struct {
}

func (*AuthEndpoint) GetCurrentUser

func (a *AuthEndpoint) GetCurrentUser(c *gin.Context)

func (*AuthEndpoint) Logout

func (a *AuthEndpoint) Logout(c *gin.Context)

type GetRequest

type GetRequest struct {
	Id string `form:"id" json:"id" binding:"required"`
}

type GetResponse

type GetResponse struct {
	Data models.App `json:"data"`
	Err  error      `json:"err"`
}

type HealthEndpoint

type HealthEndpoint struct{}

func (*HealthEndpoint) Status

func (h *HealthEndpoint) Status(c *gin.Context)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier