user

package
v0.0.0-...-da116bd Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUser

func NewUser(name string) dir.User

NewUser returns a new User

Types

type User

type User struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

User is an implementation of dir2.User

func (*User) Name

func (u *User) Name() string

Name returns the User's name

func (*User) SetName

func (u *User) SetName(name string) error

SetName sets the User's name

func (*User) String

func (u *User) String() string

func (*User) UUID

func (u *User) UUID() uuid.UUID

UUID returns the User's UUID

Jump to

Keyboard shortcuts

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