Versions in this module Expand all Collapse all v0 v0.0.2 Apr 17, 2020 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func CreateAccount() http.HandlerFunc + func CreateTransaction() http.HandlerFunc + func DeleteAccount() http.HandlerFunc + func DeleteNode(w http.ResponseWriter, r *http.Request, deleteQuery string, ...) + func DeleteRelationship(w http.ResponseWriter, r *http.Request, deleteQuery string, ...) + func DeleteTransaction() http.HandlerFunc + func GetAccount() http.HandlerFunc + func GetAccountTree() http.HandlerFunc + func GetNode(w http.ResponseWriter, r *http.Request, getQuery string, ...) + func GetTransaction() http.HandlerFunc + func GetTransactionList() http.HandlerFunc + func MustAsset(name string) []byte + func PatchAccount() http.HandlerFunc + func PatchNode(w http.ResponseWriter, r *http.Request, patchQuery string, ...) + func PatchTransaction() http.HandlerFunc + func PostNode(w http.ResponseWriter, r *http.Request, postQuery string, ...) + func PutNode(w http.ResponseWriter, r *http.Request, patchQuery string, ...) + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + func UpdateAccount() http.HandlerFunc + func UpdateTransaction() http.HandlerFunc + type DeleteAccountRequest struct + ID string + type DeleteTransactionRequest struct + ID string + type GetAccountData struct + CreatedOn time.Time + ID string + Name string + UpdatedOn *time.Time + type GetAccountRequest struct + ID string + type GetAccountResponse struct + Account GetAccountData + type GetAccountTreeData struct + Balance float64 + Children []*GetAccountTreeData + IncomingTx float64 + OutgoingTx float64 + type GetAccountTreeRequest struct + type GetAccountTreeResponse struct + Accounts []*GetAccountTreeData + type GetTransactionListItemData struct + Amount float64 + Comment string + CreatedOn time.Time + ID string + IssuedOn time.Time + Origin string + SourceAccountID string + TargetAccountID string + UpdatedOn *time.Time + type GetTransactionListRequest struct + type GetTransactionListResponse struct + Transactions []GetTransactionListItemData + type GetTransactionRequest struct + ID string + type GetTransactionResponse struct + Tx Transaction + type PatchAccountData struct + type PatchAccountRequest struct + Body struct{ ... } + ID string + type PatchAccountResponse struct + Account PatchAccountData + type PatchTransactionRequest struct + Body struct{ ... } + ID string + type PatchTransactionResponse struct + Transaction Transaction + type PostAccountData struct + type PostAccountRequest struct + Body struct{ ... } + type PostAccountResponse struct + Account PostAccountData + type PostTransactionRequest struct + Body struct{ ... } + type PostTransactionResponse struct + Transaction Transaction + type PutAccountData struct + type PutAccountRequest struct + Body struct{ ... } + ID string + type PutAccountResponse struct + Account PutAccountData + type PutTransactionRequest struct + Body struct{ ... } + ID string + type PutTransactionResponse struct + Transaction Transaction + type Routes func(chi.Router) + func NewRoutes(neo4jDriver neo4j.Driver) Routes + type Transaction struct + Amount float64 + Comment string + CreatedOn time.Time + ID string + IssuedOn time.Time + Origin string + SourceAccountID string + TargetAccountID string + UpdatedOn *time.Time