Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureFileRemoved ¶
EnsureFileRemoved checks the given path and tries to Close and Remove it if it exists.
func HashedAndSalt ¶
Types ¶
type Permissions ¶
type Permissions struct {
Owner string
}
Permissions represents the permissions of an object.
func (*Permissions) ReadAuthorized ¶
func (p *Permissions) ReadAuthorized(email string) error
ReadAuthorized determines if a given user is read authorized.
func (*Permissions) WriteAuthorized ¶
func (p *Permissions) WriteAuthorized(email string) error
WriteAuthorized determines if a given user is write authorized.
Click to show internal directories.
Click to hide internal directories.