Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Group ¶
Group type
func LookupGroup ¶
LookupGroup looks up a group by name. If the group cannot be found, the returned error is of type UnknownGroupError.
func LookupGroupID ¶
LookupGroupID looks up a group by groupid. If the group cannot be found, the returned error is of type UnknownGroupIDError.
type UnknownGroupError ¶
type UnknownGroupError string
UnknownGroupError is returned by LookupGroup when a group cannot be found.
func (UnknownGroupError) Error ¶
func (e UnknownGroupError) Error() string
type UnknownGroupIDError ¶
type UnknownGroupIDError int
UnknownGroupIDError is returned by LookupGroupID when a group cannot be found.
func (UnknownGroupIDError) Error ¶
func (e UnknownGroupIDError) Error() string
Click to show internal directories.
Click to hide internal directories.