dname

package
v0.0.0-...-2e8e066 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package dname provides utility functions for creation of distinguished names as used in LDAP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Combine

func Combine(components ...string) string

Combine combines the given distinguished name components.

func Domain

func Domain(domain string) string

Domain converts the given domain DNS address into a distinguished name.

func Make

func Make(attribute string, components ...string) string

Make creates a new distinguished name from the given components. Each component will be of the given attribute type.

func URL

func URL(dn string) string

URL converts the given distinguished name into URL-form using the LDAP protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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