dirx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Subscriber

func Subscriber(ctx context.Context, client dir.DirectoryClient, s <-chan *api.User, r chan<- *Result, errc chan<- error, inclAttrSets bool)

Subscriber subscribes to the api.User channel and sends the users instance to the directory using the gRPC LoadUsers API.

func UserExtSubscriber added in v0.1.10

func UserExtSubscriber(ctx context.Context, client dir.DirectoryClient, s <-chan *api.User, r chan<- *Result, errc chan<- error)

UserExtSubscriber subscribes to the api.User channel and sends user extensions (api.UserExt message) to the directory using the gRPC LoadUser API.

Types

type Producer

type Producer interface {
	Producer(chan<- *api.User, chan<- error)
	Count() int
}

Producer interface.

type Result added in v0.1.14

type Result struct {
	Counts *dir.LoadUsersResponse
	Err    error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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