models

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscription

type Subscription struct {
	CreatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP"`
	Coin      uint      `gorm:"primary_key; column:coin; auto_increment:false" sql:"index"`
	Address   string    `gorm:"primary_key; column:address; type:varchar(128)" sql:"index"`
}

type Tracker

type Tracker struct {
	UpdatedAt time.Time
	Coin      string `gorm:"primary_key:true; type:varchar(64)"`
	Height    int64
}

Jump to

Keyboard shortcuts

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