model

package
v0.0.0-...-78ceafc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type             string `json:"type" form:"type" query:"type"`
	Transaction_time string `json:"transaction_time" form:"transaction_time" query:"transaction_time"`
	From             string `json:"from" form:"from" query:"from"`
	To               string `json:"to" form:"to" query:"to"`
	Amount           int    `json:"amount" form:"amount" query:"amount"`
}

type User

type User struct {
	Username      string  `json:"username" form:"username"`
	Password      string  `json:"password" form:"password"`
	Firstname     string  `json:"firstname" form:"firstname"`
	Lastname      string  `json:"lastname" form:"lastname"`
	Accountnumber string  `json:"accountnumber" form:"accountnumber"`
	Nationalid    string  `json:"nationalid" form:"nationalid"`
	Dateofbirth   string  `json:"dateofbirth" form:"dateofbirth"`
	Type          string  `json:"type" form:"type"`
	Interestrate  float32 `json:"interestrate" form:"interestrate"`
}

func (*User) Bind

func (user *User) Bind(c echo.Context) (*User, error)

Jump to

Keyboard shortcuts

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