mx

package
v0.0.0-...-ca0783c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserCreate

func UserCreate(ctx context.Context, username, password string, admin bool, homeRoot string, tx boil.ContextExecutor) error

UserCreate creates an user object.

func UserEnsureRootNode

func UserEnsureRootNode(ctx context.Context, user *models.User, homeRoot string, tx boil.ContextExecutor) (*models.Node, error)

UserEnsureRootNode makes sure that a root node exists for an users and creates it if it doesn't.

Types

This section is empty.

Jump to

Keyboard shortcuts

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