ldap

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LdapLogin

func LdapLogin(username string, password string) (userInfo *ldap.Entry, err error)

func LdapUpdatePwd

func LdapUpdatePwd(username string, oldPassword string, newPassword string) (err error)

Types

type SysSettings

type SysSettings struct {
	orm.CommonModel
	Classify int             `gorm:"column:classify; type:int(11)" json:"classify" form:"classify"` // 设置分类,1 配置信息,2 Ldap配置
	Content  json.RawMessage `gorm:"column:content; type:json" json:"content" form:"content"`       // 配置内容
}

@Author : lanyulei

Jump to

Keyboard shortcuts

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