passwd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Username string
	Password string
	UID      uint
	GID      uint
	Info     string
	HomeDir  string
	Shell    string
}

func (Entry) MarshalLogObject

func (e Entry) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler

type Passwd

type Passwd interface {
	Get(username string) *Entry
}

func New

func New() Passwd

Jump to

Keyboard shortcuts

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