api

package
v0.0.0-...-5cadadf Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouterDbRepo

func NewRouterDbRepo(chainId string, db *gorm.DB) rs.Router

Types

type Notice

type Notice struct {
	*gorm.Model
	Title       string    `json:"title"`
	Description string    `json:"description"`
	Date        time.Time `json:"date" gorm:"index:notice_date_idx type:timestamp without time zone"`
	Chain       string    `json:"chain" gorm:"not null;index:;comment:chain name of network"`
}

func (*Notice) TableName

func (n *Notice) TableName() string

Jump to

Keyboard shortcuts

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