user

package
v0.0.0-...-1239505 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: GPL-2.0-only

SPDX-License-Identifier: GPL-2.0-only

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware() gin.HandlerFunc

func Init

func Init(router *gin.Engine, db *sql.DB) (err error)

Types

type User

type User struct {
	UserID      int64  `json:"userID"`
	Username    string `json:"username"`
	AliasName   string `json:"aliasName"`
	Permissions string `json:"permissions"`
}

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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