Documentation ¶
Index ¶
- type Handler
- func (h *Handler) CreateTransaction(c echo.Context) error
- func (h *Handler) ListAccount(c echo.Context) error
- func (h *Handler) ListTransaction(c echo.Context) error
- func (h *Handler) Register(v1 *echo.Group)
- func (h *Handler) RegisterAccount(c echo.Context) error
- func (h *Handler) ViewAccountSummary(c echo.Context) error
- func (h *Handler) ViewMutation(c echo.Context) error
- func (h *Handler) ViewTransactionDetails(c echo.Context) error
- type ListTransactionRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(as contract.AccountStore, ts contract.TransactionStore) *Handler
func (*Handler) CreateTransaction ¶
CreateTransaction create new transaction between accounts
func (*Handler) ListAccount ¶
ListAccount list account with paging
func (*Handler) ListTransaction ¶
ListTransaction create new transaction between accounts
func (*Handler) RegisterAccount ¶
RegisterAccount freate new accounts
func (*Handler) ViewAccountSummary ¶
ViewAccountSummary view current summary of an account
func (*Handler) ViewMutation ¶
ViewMutation list mutation between dates with filter (list of account id) also with paging
func (*Handler) ViewTransactionDetails ¶
ViewTransactionDetails see details transaction by trx_id
type ListTransactionRequest ¶
type ListTransactionRequest struct { }
Click to show internal directories.
Click to hide internal directories.