model

package
v0.0.0-...-97274ee Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticUserId           = "0"
	DatabaseDriverPostgres = "postgres"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID             int     `json:"id"`
	AccountBalance float64 `json:"account_balance"`
}

type IncomingRequest

type IncomingRequest struct {
	Source        string  `json:"source"`
	State         string  `json:"state"`
	Amount        float64 `json:"amount"`
	TransactionID string  `json:"transactionId"`
}

type Transaction

type Transaction struct {
	Id     int
	Amount float64
}

Jump to

Keyboard shortcuts

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