sync

package
v0.0.0-...-4bcbab6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service : Sync service struct

func (*Service) Start

func (s *Service) Start() error

Start : Start the sync service

func (*Service) Stop

func (s *Service) Stop() error

Stop : Stop the sync service

type Sync

type Sync interface {
	Start() error
	Stop() error
}

Sync : Sync interface for the service

func NewLDAPService

func NewLDAPService(
	repo repository.Repository,
	hub *hub.Hub,
	source ldap.LDAP,
	logger *zap.Logger,
	config *config.Config,
) (Sync, error)

NewLDAPService : Create a new sync service

Jump to

Keyboard shortcuts

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