user

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRouterUser

func RegisterRouterUser(router *mux.Router)

Types

type User

type User struct {
	Uid           string   `json:"Uid"`
	Gid           string   `json:"Gid"`
	Groups        []string `json:"Groups"`
	Comment       string   `json:"Comment"`
	HomeDirectory string   `json:"HomeDir"`
	Shell         string   `json:"Shell"`
	Name          string   `json:"Name"`
	Password      string   `json:"Password"`
}

func (*User) Add

func (u *User) Add(w http.ResponseWriter) error

func (*User) Modify

func (u *User) Modify(w http.ResponseWriter) error

func (*User) Remove

func (u *User) Remove(w http.ResponseWriter) error

func (*User) View

func (u *User) View(w http.ResponseWriter) error

Jump to

Keyboard shortcuts

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