models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	ID        string      `json:"id" structs:"id"`
	Action    string      `json:"action" structs:"action"`
	Data      interface{} `json:"data" structs:"data"`
	Extra     interface{} `json:"extra" structs:"extra"`
	Queue     string      `json:"queue" structs:"queue"`
	User      string      `json:"user" structs:"user"`
	Timestamp time.Time   `json:"timestamp" structs:"timestamp"`
	Parent    string      `json:"parent" structs:"parent"`
}

type UserAuthorizations

type UserAuthorizations struct {
	Username string   `json:"username" structs:"username"`
	Role     string   `json:"role" structs:"role"`
	Actions  []string `json:"actions" structs:"actions"`
	OtpPass  bool     `json:"otppass" structs:"otppass"`
}

Jump to

Keyboard shortcuts

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