models

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetORM

func GetORM() *gorm.DB

func Init

func Init(c db.Connection)

func Migrate added in v1.1.0

func Migrate(orm *gorm.DB) error

Types

type V2rayUser

type V2rayUser struct {
	gorm.Model
	Username string `gorm:"uniqueIndex"`
	Uuid     string `gorm:"uniqueIndex"`
	Remark   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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