account

package
v0.0.0-...-2a34ce9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginAuthHandler

func LoginAuthHandler(c *gin.Context)

func LogoutAuthHandler

func LogoutAuthHandler(c *gin.Context)

func RefreshTokenHandler

func RefreshTokenHandler(c *gin.Context)

func SyncUserSettings

func SyncUserSettings(c *gin.Context)

Types

type AccountService

type AccountService struct {
	Username string `json:"username"`
	HomeDir  string `json:"home_dir"`
	User     string `json:"user"`
	Group    string `json:"group"`
	UserId   int    `json:"user_id"`
	GroupId  int    `json:"group_id"`
}

func NewAccountService

func NewAccountService(username string) *AccountService

func (*AccountService) GetUserHomeDir

func (a *AccountService) GetUserHomeDir() string

func (*AccountService) GetWebsiteConfig

func (a *AccountService) GetWebsiteConfig() base.ZapMap

Jump to

Keyboard shortcuts

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