models

package
v0.0.0-...-bf640e2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Currency

type Currency struct {
	gorm.Model
	Convertor string  `gorm:"nvarchar(50)"`
	Rate      float64 `gorm:"numberic(30,5)"`
	CrawlTime string
	RawText   string
}

func (*Currency) FromRemote

func (c *Currency) FromRemote()

func (*Currency) Get

func (c *Currency) Get() (ret *Currency)

type MailInfo

type MailInfo struct {
	Type string `json:"Type"`
	Data struct {
		Title string `json:"Title"`
		Body  string `json:"Body"`
		To    string `json:"To"`
	} `json:"Data"`
}

type Notice

type Notice struct {
	Body string
}

func (*Notice) Send

func (n *Notice) Send()

Jump to

Keyboard shortcuts

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