Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BalanceHandler ¶
type BalanceHandler struct {
// contains filtered or unexported fields
}
func NewBalanceHandler ¶
func NewBalanceHandler(manager repository.Repository) *BalanceHandler
func (*BalanceHandler) Balance ¶
func (bh *BalanceHandler) Balance(res http.ResponseWriter, req *http.Request)
type CheckAuthenticationHandler ¶
type CheckAuthenticationHandler struct {
// contains filtered or unexported fields
}
func NewCheckAuthenticationHandler ¶
func NewCheckAuthenticationHandler(manager repository.Repository, session storage.SessionManager) *CheckAuthenticationHandler
type OrderHandler ¶
type OrderHandler struct {
// contains filtered or unexported fields
}
func NewOrderHandler ¶
func NewOrderHandler(manager repository.Repository, orderService *orderService.OrderService, jobService *job.JobService, accrualService *accrual.AccrualService) *OrderHandler
func (*OrderHandler) OrderList ¶
func (o *OrderHandler) OrderList(res http.ResponseWriter, req *http.Request)
func (*OrderHandler) UploadingOrder ¶
func (o *OrderHandler) UploadingOrder(res http.ResponseWriter, req *http.Request)
type RegistrationHandler ¶
type RegistrationHandler struct {
// contains filtered or unexported fields
}
func NewRegistrationHandler ¶
func NewRegistrationHandler(manager repository.Repository, session storage.SessionManager) *RegistrationHandler
func (*RegistrationHandler) Authentication ¶
func (r *RegistrationHandler) Authentication(res http.ResponseWriter, req *http.Request)
func (*RegistrationHandler) Registration ¶
func (r *RegistrationHandler) Registration(res http.ResponseWriter, req *http.Request)
type TransactionHandler ¶
type TransactionHandler struct {
// contains filtered or unexported fields
}
func NewTransactionHandler ¶
func NewTransactionHandler(db storage.DBQuery) *TransactionHandler
func (*TransactionHandler) Transaction ¶
func (th *TransactionHandler) Transaction(next http.Handler) http.Handler
type WithdrawHandler ¶
type WithdrawHandler struct {
// contains filtered or unexported fields
}
func NewWithdrawHandler ¶
func NewWithdrawHandler(manager repository.Repository, orderService *orderService.OrderService) *WithdrawHandler
func (*WithdrawHandler) Withdraw ¶
func (wh *WithdrawHandler) Withdraw(res http.ResponseWriter, req *http.Request)
func (*WithdrawHandler) WithdrawalsList ¶
func (wh *WithdrawHandler) WithdrawalsList(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.