controller

package
v0.0.0-...-a70ed68 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumptionController

type ConsumptionController struct {
	ConsumptionUsecase domain.ConsumptionUsecase
}

func (*ConsumptionController) GetConsumptionsByPeriod

func (cc *ConsumptionController) GetConsumptionsByPeriod(c *gin.Context)

type LoginController

type LoginController struct {
	LoginUsecase domain.LoginUsecase
	Env          *bootstrap.Env
}

func (*LoginController) Login

func (lc *LoginController) Login(c *gin.Context)

type MeterController

type MeterController struct {
	MeterUsecase domain.MeterUsecase
}

func (*MeterController) Fetch

func (mc *MeterController) Fetch(c *gin.Context)

func (*MeterController) Get

func (mc *MeterController) Get(c *gin.Context)

type RefreshTokenController

type RefreshTokenController struct {
	RefreshTokenUsecase domain.RefreshTokenUsecase
	Env                 *bootstrap.Env
}

func (*RefreshTokenController) RefreshToken

func (rtc *RefreshTokenController) RefreshToken(c *gin.Context)

type SignupController

type SignupController struct {
	SignupUsecase domain.SignupUsecase
	Env           *bootstrap.Env
}

func (*SignupController) Signup

func (sc *SignupController) Signup(c *gin.Context)

Jump to

Keyboard shortcuts

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