models

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

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	UserID     string `json:"user_id"`
	LastUsedAt string `json:"last_used_at"`
	LastUsedIP string `json:"last_used_ip"`
	Token      string `json:"token"`
	CreatedAt  string `json:"created_at"`
	UpdatedAt  string `json:"updated_at"`
	IPRange    string `json:"ip_range"`
}

AccessToken Structure of the personal access token

type ExtensionModel

type ExtensionModel struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	Version    string `json:"version"`
	Icon       string `json:"icon"`
	Service    string `json:"service"`
	CreatedAt  string `json:"created_at"`
	UpdatedAt  string `json:"updated_at"`
	Order      int    `json:"order"`
	SslPorts   string `json:"sslPorts" pg:"sslPorts"`
	Issuer     string `json:"issuer"`
	Language   string `json:"language"`
	Support    string `json:"support"`
	Displays   string `json:"displays"`
	Status     string `json:"status"`
	RequireKey string `json:"require_key"`
	// contains filtered or unexported fields
}

ExtensionModel Structure of the extension obj

type License

type License struct {
	ID          string `json:"id"`
	Data        string `json:"data"`
	ExtensionID string `json:"extension_id"`
	CreatedAt   string `json:"created_at"`
	UpdatedAt   string `json:"updated_at"`
}

License Structure of the personal extension license

type Permission

type Permission struct {
	ID        string `json:"id"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
	Type      string `json:"type"`
	Key       string `json:"key"`
	Value     string `json:"value"`
	Extra     string `json:"extra"`
	Blame     string `json:"blame"`
	MorphID   string `json:"morph_id"`
	MorphType string `json:"morph_type"`
}

Permission Structure of the permissions

type RoleUsers

type RoleUsers struct {
	ID        string `json:"id"`
	UserID    string `json:"user_id"`
	RoleID    string `json:"role_id"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
	Type      string `json:"type"`
	// contains filtered or unexported fields
}

RoleUsers Structure of the role users

type ServerKey

type ServerKey struct {
	ID        string `json:"id"`
	Type      string `json:"type"`
	Data      string `json:"data"`
	ServerID  string `json:"server_id"`
	UserID    string `json:"user_id"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
}

ServerKey Structure of the server keys

type ServerModel

type ServerModel struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Type        string `json:"type"`
	IPAddress   string `json:"ip_address"`
	City        string `json:"city"`
	ControlPort string `json:"control_port"`
	UserID      string `json:"user_id"`
	CreatedAt   string `json:"created_at"`
	UpdatedAt   string `json:"updated_at"`
	Os          string `json:"os"`
	Enabled     string `json:"enabled"`
	KeyPort     int    `json:"key_port"`
	SharedKey   int    `json:"shared_key"`
	// contains filtered or unexported fields
}

ServerModel Structure of the server obj

type SettingsModel

type SettingsModel struct {
	ID        string `json:"id"`
	ServerID  string `json:"server_id"`
	UserID    string `json:"user_id"`
	Name      string `json:"name"`
	Value     string `json:"value"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
	// contains filtered or unexported fields
}

SettingsModel Structure of the user settings obj

type TokenModel

type TokenModel struct {
	ID        string `json:"id"`
	UserID    string `json:"user_id"`
	Token     string `json:"token"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
	// contains filtered or unexported fields
}

TokenModel Structure of the tokens table

type UserModel

type UserModel struct {
	ID            string `json:"id"`
	Name          string `json:"name"`
	Email         string `json:"email"`
	Password      string `json:"password"`
	Status        int    `json:"status"`
	LastLoginAt   string `json:"last_login_at"`
	RememberToken string `json:"remember_token"`
	LastLoginIP   string `json:"last_login_ip"`
	CreatedAt     string `json:"created_at"`
	UpdatedAt     string `json:"updated_at"`
	ForceChange   bool   `json:"forcechange" pg:"forceChange"`
	ObjectGUID    string `json:"objectguid" pg:"objectguid"`
	AuthType      string `json:"auth_type"`
	// contains filtered or unexported fields
}

UserModel Structure of the users table

type Widget

type Widget struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Title       string `json:"title"`
	UserID      string `json:"user_id"`
	Type        string `json:"type"`
	ExtensionID string `json:"extension_id"`
	ServerID    string `json:"serrver_id"`
	Function    string `json:"function"`
	Text        string `json:"text"`
	CreatedAt   string `json:"created_at"`
	UpdatedAt   string `json:"updated_at"`
	Order       int    `json:"order"`
}

Widget Structure of the widget

Jump to

Keyboard shortcuts

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