nogfsodomd

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 5 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 {
	Domain        string
	GroupPrefixes []string
	Conn          *grpc.ClientConn
	SysRPCCreds   credentials.PerRPCCredentials
}

type DomainLogicError

type DomainLogicError struct {
	Reason string
}

func (*DomainLogicError) Error

func (err *DomainLogicError) Error() string

type GetentError

type GetentError struct {
	Reason string
}

func (*GetentError) Error

func (err *GetentError) Error() string

type Logger

type Logger interface {
	Infow(msg string, kv ...interface{})
	Warnw(msg string, kv ...interface{})
	Errorw(msg string, kv ...interface{})
}

type Syncer

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

func New

func New(lg Logger, cfg *Config) *Syncer

func (*Syncer) Sync

func (syn *Syncer) Sync(ctx context.Context) error

Jump to

Keyboard shortcuts

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