mcdav

package
v0.0.0-...-ec95f82 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidUserOrPassword = errors.New("invalid user or password")

Functions

This section is empty.

Types

type UserEntry

type UserEntry struct {
	Server *webdav.Handler
	User   *mcmodel.User
	// contains filtered or unexported fields
}

type Users

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

func NewUsers

func NewUsers(userStor stor.UserStor) *Users

func (*Users) GetOrCreateValidatedUser

func (u *Users) GetOrCreateValidatedUser(username, password string) (*UserEntry, error)

func (*Users) GetUserByUsername

func (u *Users) GetUserByUsername(username string) *UserEntry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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