user

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNullVal

func GetNullVal(val *wrappers.StringValue) *string

func UserInfoToApi

func UserInfoToApi(ui *sys.UserInfo, opt UserOpt) *types.UserInfo

func UserInfoToRpc

func UserInfoToRpc(ui *types.UserInfo) *sys.UserInfo

Types

type UserOpt added in v1.1.3

type UserOpt struct {
	Roles  []*sys.RoleInfo
	Tenant *sys.TenantInfo
	Depts  []*sys.DeptInfo
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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