api

package
v0.0.0-...-02850ba Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MsgChan chan string

Functions

This section is empty.

Types

type ApiServer

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

func (*ApiServer) EventProcessTransactions

func (srv *ApiServer) EventProcessTransactions(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleCancelTransfer

func (srv *ApiServer) HandleCancelTransfer(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleGetAccountByID

func (srv *ApiServer) HandleGetAccountByID(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleGetTransferByID

func (srv *ApiServer) HandleGetTransferByID(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleGetTransfersByAccount

func (srv *ApiServer) HandleGetTransfersByAccount(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleGetTransfersByPeriod

func (srv *ApiServer) HandleGetTransfersByPeriod(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleNewAccount

func (srv *ApiServer) HandleNewAccount(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandleNewTransfer

func (srv *ApiServer) HandleNewTransfer(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandlerActivateBank

func (s *ApiServer) HandlerActivateBank(w http.ResponseWriter, r *http.Request)

func (*ApiServer) HandlerRequestNewBank

func (s *ApiServer) HandlerRequestNewBank(w http.ResponseWriter, r *http.Request)

func (*ApiServer) Run

func (srv *ApiServer) Run()

type FullTransferResDTO

type FullTransferResDTO struct {
	ID        uuid.UUID `json:"id"`
	Receiver  uuid.UUID `json:"receiver"`
	Sender    uuid.UUID `json:"sender"`
	Amount    float64   `json:"amount"`
	Status    string    `json:"status"`
	Scheduled time.Time `json:"scheduled"`
	CreatedAt time.Time `json:"created_at"`
}

Jump to

Keyboard shortcuts

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