dirx

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserExtensionsRequestFactory added in v0.8.0

func UserExtensionsRequestFactory(user *api.User) *dir.LoadUsersRequest

Types

type LoadUsersRequestFactory added in v0.8.0

type LoadUsersRequestFactory func(*api.User) *dir.LoadUsersRequest

func NewLoadUsersRequestFactory added in v0.8.0

func NewLoadUsersRequestFactory(inclAttrSets bool) LoadUsersRequestFactory

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
}

type UserSubscriber added in v0.8.0

type UserSubscriber struct {
	Ctx           context.Context
	DirClient     dir.DirectoryClient
	SourceChannel chan *api.User
	ResultChannel chan *Result
	ErrorChannel  chan error
}

func (*UserSubscriber) Subscribe added in v0.8.0

func (subscriber *UserSubscriber) Subscribe(requestFactory LoadUsersRequestFactory)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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