Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCreateReq ¶
type AccountCreditReq ¶
type AccountDebitReq ¶
type AccountDetailReq ¶
type AccountDetailReq struct {
ID string `json:"account_id" params:"account_id" validate:"required,uuid"`
}
type AccountRoutes ¶
type AccountRoutes struct {
Tracer trace.Tracer
ValidationSrv *validation.Srv
AccountUseCase *usecase.AccountUseCase
Rest *restsrv.Srv
}
func (*AccountRoutes) Register ¶
func (r *AccountRoutes) Register(router fiber.Router)
type AccountTransferReq ¶
type AccountTransferReq struct {
AccountId uuid.UUID `json:"account_id" validate:"required,uuid"`
Amount string `json:"amount" validate:"required,amount"`
ToIban string `json:"to_iban" validate:"required,iban"`
ToOwner string `json:"to_owner" validate:"required,min=3,max=255"`
Description string `json:"description" validate:"required,min=3,max=255"`
}
type AuthLoginReq ¶
type AuthLoginReq struct {
Code string `json:"code" validate:"required,numeric,len=4"`
}
type AuthLoginStartReq ¶
type AuthLoginStartReq struct {
Email string `json:"email" validate:"required,email"`
}
type AuthRegisterReq ¶
type AuthRegistrationVerifyReq ¶
type AuthRegistrationVerifyReq struct {
Token string `params:"token" validate:"required,uuid"`
}
type AuthRoutes ¶
type AuthRoutes struct {
Tracer trace.Tracer
ValidationSrv *validation.Srv
AuthUseCase *usecase.AuthUseCase
Rest *restsrv.Srv
Domain string
}
func (*AuthRoutes) Register ¶
func (r *AuthRoutes) Register(router fiber.Router)
Click to show internal directories.
Click to hide internal directories.