entity

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 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 Device

type Device struct {
	ID       string
	Username string
}

type User

type User struct {
	ID        int
	Username  string
	ExpiresAt time.Time
	Limit     int
}

func (*User) LimitReached

func (u *User) LimitReached(devices int) bool

Jump to

Keyboard shortcuts

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