Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGetEndpoint

func MakeGetEndpoint(s service.AppService) gin.HandlerFunc

Types

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)