models

package
v0.0.0-...-1dc1322 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hostname

type Hostname struct {
	Id int `gorm:"primary_key"`

	Registration   *Registration
	RegistrationId int

	Hostname string
	Labels   pq.StringArray

	CreatedAt time.Time
	UpdatedAt time.Time
}

type Registration

type Registration struct {
	Id        int `gorm:"primary_key"`
	AccountId []byte
	Email     string
	Name      string
	CreatedAt time.Time
	UpdatedAt time.Time
}

Jump to

Keyboard shortcuts

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