models

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	gorm.Model

	Name string

	PURLs []*PURL `gorm:"foreignKey:DomainID"`
}

type PURL

type PURL struct {
	gorm.Model

	DomainID uint

	Name   string
	Target string
}

func (PURL) TableName

func (P PURL) TableName() string

type User added in v0.7.0

type User struct {
	gorm.Model

	Email string

	Keys []*UserKey `gorm:"foreignKey:OwnerID"`
}

type UserKey added in v0.7.0

type UserKey struct {
	gorm.Model

	OwnerID uint

	Value string
}

Jump to

Keyboard shortcuts

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