package
0.8.2
Repository: https://github.com/no-src/gofs.git
Documentation: pkg.go.dev

# Functions

GetAnonymousUser get an anonymous user.
MapperToSessionUser convert User to SessionUser.
NewUser create a new user.
ParseStringUsers parse user list to user string.
ParseUsers parse users string to User List For example: user1|password1|rwx,user2|password2|rwx.
RandomUser generate some user with random username and password count is user count you want userLen is the length of random username, max length is 20 pwdLen is the length of random password, max length is 20 perm is the default permission of every random user, like 'rwx'.
ToPerm convert a perm string to Perm.
ToPermWithDefault convert a perm string to Perm defaultPerm if the perm is empty, replace with the defaultPerm.

# Constants

DefaultPerm the default permission.
ExecutePerm the permission of execute.
FullPerm the permission of read, write and execute.
ReadPerm the permission of read.
WritePerm the permission of write.

# Structs

SessionUser the login user info that is stored in session.
User a login user info.

# Type aliases

Perm the basic permission info.