v1_1_3_b_add_ldap

package
v0.0.0-...-1ae172a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MigrateVersion = "v1.1.3_b"

Functions

func Migrate

func Migrate(db *gorm.DB) error

Types

type Ldap

type Ldap struct {
	ID          uint   `gorm:"primaryKey" json:"id"`
	Name        string `gorm:"size:64;not null" json:"name"`
	Enable      string `gorm:"size:16;not null" json:"enable"`
	Url         string `gorm:"size:255;not null" json:"url"`
	MaxConn     int    `gorm:"type:uint" json:"max_conn"`
	BaseDN      string `gorm:"size:255;not null" json:"base_dn"`
	AdminDN     string `gorm:"size:64;not null" json:"admin_dn"`
	AdminDNPass string `gorm:"size:64;not null" json:"admin_dn_pass"`
}

func (Ldap) TableName

func (Ldap) TableName() string

Jump to

Keyboard shortcuts

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