types

package
v0.0.0-...-57fcccd Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Name string `json:"name,omitempty" db:"name"`
	Gid  uint   `json:"gid,omitempty" db:"gid"`
}

type User

type User struct {
	Name       string `json:"name,omitempty" db:"name"`
	Uid        uint   `json:"uid,omitempty" db:"uid"`
	Gid        uint   `json:"gid,omitempty" db:"gid"`
	Gecos      string `json:"gecos,omitempty" db:"gecos"`
	HomeDir    string `json:"home_dir,omitempty" db:"homedir"`
	Shell      string `json:"shell,omitempty" db:"shell"`
	HashedPass string `json:"hashed_pass,omitempty" db:"hashed_pass"`
	Principal  string `json:"principal"`
}

type UsersWithGroups

type UsersWithGroups struct {
	Users  []User  `json:"users,omitempty"`
	Groups []Group `json:"groups,omitempty"`
}

Jump to

Keyboard shortcuts

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