platform

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = errors.New("platform not supported")

Functions

func GetCurrentGroup

func GetCurrentGroup() (*user.Group, error)

func GetCurrentUser

func GetCurrentUser() (*user.User, error)

func HasSetGroup

func HasSetGroup() bool

func HasSetUser

func HasSetUser() bool

func SetGroup

func SetGroup(name string) error

func SetUser

func SetUser(username string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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