admin

package
v0.0.0-...-2dc66f2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(ctx iris.Context, err error, l logger.Interface)

alias handleError.

func ReadID

func ReadID(ctx iris.Context, req *detailRequest) error

func RegisterAuthController

func RegisterAuthController(handler iris.Party, l logger.Interface, uc usecase.IAdminAuthUseCase)

func RegisterDocsController

func RegisterDocsController(handler iris.Party, l logger.Interface)

func RegisterEmployeeController

func RegisterEmployeeController(handler iris.Party, l logger.Interface, uc usecase.IAdminEmployeeUseCase)

func RegisterMeController

func RegisterMeController(handler iris.Party, l logger.Interface, uc usecase.IAdminMeUseCase)

func RegisterServices

@host localhost:8080 @BasePath /api/admin/v1

func RegisterTransactionController

func RegisterTransactionController(handler iris.Party, l logger.Interface, uc usecase.IAdminTransactionUseCase)

Types

type EntitiesResponseTemplate

type EntitiesResponseTemplate[EntityResponse any] struct {
	Count    uint             `json:"count"`
	Next     string           `json:"next"`
	Previous string           `json:"previous"`
	Results  []EntityResponse `json:"results"`
}

type Time

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

func (*Time) MarshalText

func (s *Time) MarshalText() ([]byte, error)

func (*Time) UnmarshalText

func (s *Time) UnmarshalText(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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