ldaptest

package
v0.0.0-...-f0491b5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dir   string
	Base  string
	LDIFs []string
}

Config for the test in-memory LDAP server.

type TestLDAPServer

type TestLDAPServer struct {
	Addr string
	// contains filtered or unexported fields
}

func StartServer

func StartServer(t testing.TB, config *Config) *TestLDAPServer

StartServer starts a test LDAP server with the specified configuration.

func (*TestLDAPServer) Close

func (s *TestLDAPServer) Close()

Jump to

Keyboard shortcuts

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