userHandler

package
v0.64.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultUserPipFile string = "../resources/users.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type UserIP

type UserIP struct {
	// contains filtered or unexported fields
}

func NewUserPIP

func NewUserPIP(userPath string) *UserIP

NewUserPIP Loads the AuthZen users and returns a UserIP map. If file is not found nil is returned.

func (*UserIP) GetUser

func (u *UserIP) GetUser(id string) infoModel.UserInfo

Jump to

Keyboard shortcuts

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