Documentation ¶
Index ¶
- type Passwd
- func (p *Passwd) Get(user string) (*PasswdItem, error)
- func (p *Passwd) GetGID(user string) (int, error)
- func (p *Passwd) GetHome(user string) (string, error)
- func (p *Passwd) GetShell(user string) (string, error)
- func (p *Passwd) GetUID(user string) (int, error)
- func (p *Passwd) Length() int
- func (p *Passwd) Load() error
- type PasswdItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Passwd ¶
type Passwd struct { FilePath string Mapping map[string]*PasswdItem }
Click to show internal directories.
Click to hide internal directories.